Add test on domain of relation fields

issue10794
#046274
This commit is contained in:
Raimon Esteve 2021-10-19 18:39:32 +02:00
parent 00640fb7ff
commit b6e06c918d
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ __all__ = ['Account', 'StockMove']
_DOMAIN_BREEDING_ACCOUNTS = [
('type', '=', 'normal'),
['OR',
('parent', 'child_of', [Eval('id')]),
('parent', 'child_of', [Eval('id', -1)]),
('parent', '=', None),
],
]