diff options
| author | P. Christeas <p_christ@hol.gr> | 2011-01-17 10:41:08 +0200 |
|---|---|---|
| committer | P. Christeas <p_christ@hol.gr> | 2011-01-17 10:41:08 +0200 |
| commit | 795b2bdcae1afb92baa100a366e957661979316e (patch) | |
| tree | c3d94a888f10bdf607366e327596a4cf6bcd2263 /addons/web_graph/static/lib/dhtmlxGraph/codebase | |
| parent | c180358e3054f0e05e1b7fc2daeeda4ab0d94d9a (diff) | |
expression: fix function.search() when it does not restrict
Triggered by [Bug 702340]
When we try to search a composite expression like:
[( 'ourfoo.subfoo', '=' , True) ]
.. where subfoo is a function field of the model ofourfoo field,
the framework will call subfoo.search([('subfoo','=',True)]).
The latter shall return a domain expression that will restrict
the search on 'ourfoo'.
When the returned expression is empty, meaning "match all", the algebra
on the parent expression would come up with an invalid [..., '&', ( 1, '=', 1) ]
sequence.
bzr revid: p_christ@hol.gr-20110117084108-vt1qe72lhw8ldxqm
Diffstat (limited to 'addons/web_graph/static/lib/dhtmlxGraph/codebase')
0 files changed, 0 insertions, 0 deletions
