changeset e4816f030e5a in trytond:6.2 details: https://hg.tryton.org/trytond?cmd=changeset&node=e4816f030e5a 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 9444c2eb9be8 -r e4816f030e5a 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