Thanks for the patch.

Actually if res2 is None, we should throw a nice exception saying that a 
particular function field doesn't return the expected result type.

So in the case of the linked bug report, it is really a bug in account.account, 
not in the orm.

I will reject this patch.
-- 
https://code.launchpad.net/~openerp-dev/openobject-server/6.0-bug-745679-xrg/+merge/55890
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-server/6.0-bug-745679-xrg.

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

Reply via email to