P. Christeas 795b2bdcae 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
2011-01-17 10:41:08 +02:00
…
…
…
…
…
…

About OpenERP

---------------



OpenERP is a free Enterprise Resource Planning and Customer Relationship 

Management software. It is mainly developed to meet changing needs.



The main functional features are: CRM & SRM, analytic and financial accounting,

double-entry stock management, sales and purchases management, tasks automation,

help desk, marketing campaign, ... and vertical modules for very specific 

businesses.



Technical features include a distributed server, flexible workflows, an object 

database, dynamic GUIs, customizable reports, NET-RPC and XML-RPC interfaces, ...



For more information, please visit: 

http://www.openerp.com



S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%