Browse Source

[FIX] coding style

pull/83/head
Holger Brunn 10 years ago
parent
commit
b57a28d726
  1. 3
      web_advanced_filters/model/ir_filters.py

3
web_advanced_filters/model/ir_filters.py

@ -101,7 +101,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') or [expression.FALSE_LEAF])
safe_eval(this['domain'] or 'False')
or [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…
Cancel
Save