changeset 11397ee82996 in trytond:6.4
details: https://hg.tryton.org/trytond?cmd=changeset&node=11397ee82996
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 bac74c2ea3cd -r 11397ee82996 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
@@ -125,7 +125,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(*(
@@ -138,7 +138,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