changeset bf7aa03ab1e9 in modules/marketing_automation:default
details: 
https://hg.tryton.org/modules/marketing_automation?cmd=changeset&node=bf7aa03ab1e9
description:
        Do not sort state selection

        issue11169
        review374761005
diffstat:

 marketing_automation.py |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 712dd652a666 -r bf7aa03ab1e9 marketing_automation.py
--- a/marketing_automation.py   Sat Feb 12 02:35:41 2022 +0100
+++ b/marketing_automation.py   Tue Feb 15 00:08:47 2022 +0100
@@ -76,7 +76,7 @@
             ('draft', "Draft"),
             ('running', "Running"),
             ('stopped', "Stopped"),
-            ], "State", required=True, readonly=True)
+            ], "State", required=True, readonly=True, sort=False)
 
     @classmethod
     def __setup__(cls):
@@ -754,7 +754,7 @@
             ('waiting', "Waiting"),
             ('done', "Done"),
             ('cancelled', "Cancelled"),
-            ], "State", required=True, readonly=True)
+            ], "State", required=True, readonly=True, sort=False)
 
     @classmethod
     def __setup__(cls):

Reply via email to