*modified behavior of global rules: they are now at the same level than other rules (OR between the global rules and others)
bzr revid: qdp@tinyerp.com-20080715111504-irlodwg3pzaqnqjy
This commit is contained in:
parent
ea2cc2d98e
commit
7641121ba9
|
@ -205,7 +205,7 @@ class ir_rule(osv.osv):
|
|||
query_global, val_global = _query(clause_global, 'OR')
|
||||
if query_global:
|
||||
if query:
|
||||
query = '('+query+') AND '+query_global
|
||||
query = '('+query+') OR '+query_global
|
||||
val.extend(val_global)
|
||||
else:
|
||||
query = query_global
|
||||
|
|
Loading…
Reference in New Issue