mirror of https://github.com/OCA/web.git
[FIX] flake8
parent
a98ba6072a
commit
fbbc6e31a1
|
@ -98,8 +98,8 @@ class IrFilters(Model):
|
||||||
context=context):
|
context=context):
|
||||||
result[this['id']] = False
|
result[this['id']] = False
|
||||||
complement_domain = expression.normalize_domain(
|
complement_domain = expression.normalize_domain(
|
||||||
safe_eval(this['domain'] or 'False')
|
safe_eval(this['domain'] or 'False') or
|
||||||
or [expression.FALSE_LEAF])
|
[expression.FALSE_LEAF])
|
||||||
for arg in complement_domain:
|
for arg in complement_domain:
|
||||||
if not expression.is_leaf(arg):
|
if not expression.is_leaf(arg):
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue