workflows: mark wscall action default values (#64966)
This commit is contained in:
parent
637b2375b6
commit
7e0f782776
|
@ -283,6 +283,7 @@ class WebserviceCallStatusItem(WorkflowStatusItem):
|
|||
attrs={'data-dynamic-display-parent': 'true'},
|
||||
extra_css_class='widget-inline-radio',
|
||||
tab=('response', _('Response')),
|
||||
default_value=self.__class__.response_type,
|
||||
)
|
||||
if 'varname' in parameters:
|
||||
form.add(
|
||||
|
@ -341,6 +342,7 @@ class WebserviceCallStatusItem(WorkflowStatusItem):
|
|||
options=error_actions,
|
||||
attrs=attrs,
|
||||
tab=('error', _('Error Handling')),
|
||||
default_value=getattr(self.__class__, attribute),
|
||||
)
|
||||
|
||||
if 'notify_on_errors' in parameters:
|
||||
|
@ -359,6 +361,7 @@ class WebserviceCallStatusItem(WorkflowStatusItem):
|
|||
title=_('Record on errors'),
|
||||
value=self.record_on_errors,
|
||||
tab=('error', _('Error Handling')),
|
||||
default_value=self.__class__.record_on_errors,
|
||||
)
|
||||
|
||||
if 'record_errors' in parameters:
|
||||
|
|
Loading…
Reference in New Issue