changeset d051fef721c4 in tryton:default
details: https://hg.tryton.org/tryton?cmd=changeset;node=d051fef721c4
description:
        Keep order of completion strings

        The tests are expecting this behavior.
diffstat:

 tryton/common/domain_parser.py |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 5829674cd606 -r d051fef721c4 tryton/common/domain_parser.py
--- a/tryton/common/domain_parser.py    Sat Dec 28 18:16:28 2019 +0100
+++ b/tryton/common/domain_parser.py    Sat Dec 28 20:06:55 2019 +0100
@@ -497,7 +497,7 @@
 
     def __init__(self, fields, context=None):
         self.fields = OrderedDict()
-        self.strings = {}
+        self.strings = OrderedDict()
         self.context = context
 
         def update_fields(fields, prefix='', string_prefix=''):

Reply via email to