Reviewers: ,


Please review this at http://codereview.tryton.org/701002/

Affected files:
  M trytond/ir/translation.py


Index: trytond/ir/translation.py
===================================================================
--- a/trytond/ir/translation.py
+++ b/trytond/ir/translation.py
@@ -528,9 +528,13 @@
         id2translation = {}
         key2ids = {}
         module_translations = cls.search([
-            ('lang', '=', lang),
-            ('module', '=', module),
-            ])
+                ('lang', '=', lang),
+                ('module', '=', module),
+                ],
+            order=[
+                ('type', 'DESC'),
+                ('name', 'DESC'),
+                ])
         for translation in module_translations:
             if translation.type in ('odt', 'view', 'wizard_button',
                     'selection', 'error'):


--
--
[email protected] mailing list

--- You received this message because you are subscribed to the Google Groups "tryton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to