changeset fc9c75402e3a in tryton:5.2 details: https://hg.tryton.org/tryton?cmd=changeset;node=fc9c75402e3a description: Replace child_of target only if it is not a related field
issue8609 review285911002 (grafted from 4cd1ebee3cd56cf5c58144c50f845af519b9fc7a) diffstat: tryton/common/domain_inversion.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diffs (12 lines): diff -r 95afb03bd50c -r fc9c75402e3a tryton/common/domain_inversion.py --- a/tryton/common/domain_inversion.py Fri Aug 30 08:59:18 2019 +0200 +++ b/tryton/common/domain_inversion.py Mon Sep 02 18:34:55 2019 +0200 @@ -140,7 +140,7 @@ if domain in ('AND', 'OR'): return domain elif is_leaf(domain): - if 'child_of' in domain[1]: + if 'child_of' in domain[1] and '.' not in domain[0]: if len(domain) == 3: return domain else: