workflows: keep compatibility dict intact in display message action (#29951)
This commit is contained in:
parent
669140ab01
commit
a481797540
|
@ -2575,8 +2575,7 @@ class DisplayMessageWorkflowStatusItem(WorkflowStatusItem):
|
|||
if not (self.message and self.position == position and self.is_for_current_user(filled)):
|
||||
return ''
|
||||
|
||||
dict = {}
|
||||
dict.update(get_publisher().substitutions.get_context_variables())
|
||||
dict = copy.copy(get_publisher().substitutions.get_context_variables())
|
||||
dict['date'] = misc.localstrftime(filled.receipt_time)
|
||||
dict['number'] = filled.id
|
||||
handling_role = filled.get_handling_role()
|
||||
|
|
Loading…
Reference in New Issue