Projet

Général

Profil

0001-workflows-keep-compability-dict-intact-in-display-me.patch

Frédéric Péters, 16 avril 2019 10:51

Télécharger (1,01 ko)

Voir les différences:

Subject: [PATCH 1/3] workflows: keep compability dict intact in display
 message action (#29951)

 wcs/workflows.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
wcs/workflows.py
2623 2623
        if not (self.message and self.position == position and self.is_for_current_user(filled)):
2624 2624
            return ''
2625 2625

  
2626
        dict = {}
2627
        dict.update(get_publisher().substitutions.get_context_variables())
2626
        dict = copy.copy(get_publisher().substitutions.get_context_variables())
2628 2627
        dict['date'] = misc.localstrftime(filled.receipt_time)
2629 2628
        dict['number'] = filled.id
2630 2629
        handling_role = filled.get_handling_role()
2631
-