Proposed patch does not work. It works if the boolean can have 2 values but in 
SQL, a boolean can have 3 different values: true, false or NULL.

Tested with sale.order and the 'picked' field.

Here is how to get a non working search result:

I have some 3 sale orders:
select id, picked from sale_order order by id;
1, NULL
6, 't'
7, 'f'

If I group by the 'picked' field, the search result gives me 3 groups:
False, with sale order 1 and 7
True,  with sale order 6
False, with sale order 1 and 7


-- 
https://code.launchpad.net/~openerp-dev/openobject-client-web/6.0-opw-18489-msh/+merge/80893
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-client-web/6.0-opw-18489-msh.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to