diff --git a/trytond/trytond/ir/error.py b/trytond/trytond/ir/error.py index 19e8f3c5b8..8b87d6163b 100644 --- a/trytond/trytond/ir/error.py +++ b/trytond/trytond/ir/error.py @@ -88,6 +88,7 @@ class Error(Workflow, ModelView, ModelSQL): table, (table.state, Index.Equality(cardinality='low')), where=table.state.in_(['open', 'processing']))) + cls._order = [('id', 'DESC')] cls._transitions |= { ('open', 'processing'), ('processing', 'solved'),