Browse Source

Merge branch '7.0-advanced_filters' of github.com:hbrunn/web into 7.0-advanced_filters

Conflicts:
	web_advanced_filters/model/ir_filters.py
pull/83/head
Holger Brunn 10 years ago
parent
commit
a98ba6072a
  1. 4
      web_advanced_filters/model/ir_filters.py

4
web_advanced_filters/model/ir_filters.py

@ -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') 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