workflows: use computed expression widget for email custom recipient (#27719) #1245
Loading…
Reference in New Issue
No description provided.
Delete Branch "wip/27719-computed-expression-widget-for-email-other-recipient"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
e2e59351fb
toec06c68f9c
ec06c68f9c
to33c5e88fab
WIP: workflows: use computed expression widget for email custom recipient (#27719)to workflows: use computed expression widget for email custom recipient (#27719)@ -108,7 +93,6 @@ $(function() {
function prepare_widgets() {
prepare_dynamic_widgets();
prepare_autocomplete_widgets();
prepate_select_or_other_widgets();
Premier commit parce qu'en fait avec les data-dynamic-display-... on peut déjà faire le select/autre.
@ -174,6 +174,7 @@ class SendmailWorkflowStatusItem(WorkflowStatusItem):
add_element_label=self.get_add_role_label(),
element_kwargs={
'render_br': False,
'other_widget_class': ComputedExpressionWidget,
Deuxième commit pour utiliser le widget approprié pour de la saisie d'expression; en plus d'indiquer qu'on y a attend du django (ce qui était la demande du ticket) ça fait la validation etc.