changeset d1538888ef37 in trytond:6.0
details: https://hg.tryton.org/trytond?cmd=changeset&node=d1538888ef37
description:
        Fix wrong xml id for recursion_error message

        issue11727
        review439581003
        (grafted from fc8196fd371f76af5e748c15b6a5065d69884c04)
diffstat:

 trytond/model/tree.py |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r ce982fabd69a -r d1538888ef37 trytond/model/tree.py
--- a/trytond/model/tree.py     Sat Oct 15 22:08:25 2022 +0200
+++ b/trytond/model/tree.py     Fri Oct 21 13:25:30 2022 +0200
@@ -112,7 +112,7 @@
                                 parent_name = ', '.join(getattr(r, name)
                                     for r in getattr(record, parent))
                                 raise RecursionError(
-                                    gettext('ir.recursion_error',
+                                    gettext('ir.msg_recursion_error',
                                         rec_name=getattr(record, name),
                                         parent_rec_name=parent_name))
                         walker = list(chain(*(
@@ -125,7 +125,7 @@
                             parent_name = getattr(
                                 getattr(record, parent), name)
                             raise RecursionError(
-                                gettext('ir.recursion_error',
+                                gettext('ir.msg_recursion_error',
                                     rec_name=getattr(record, name),
                                     parent_rec_name=parent_name))
                         walker = (getattr(walker, parent) not in visited

Reply via email to