> I'm not sure that's the right move, would it not be better to use
> `openerp.web.format_value` for this since it's supposed to do the right thing,
> and should also work with formatting e.g. dates and numbers?

In `openerp.web.format_value` for selection fields it returns value not key 
because of result[1]
and in domain key needed not value for selection fields.
-- 
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-bug-910821-vme/+merge/87596
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openerp-web/trunk-bug-910821-vme.

_______________________________________________
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