Review: Needs Fixing

Such a unique constraint:
   unique (name, company_id)

will not work if one of the columns involved is nullable!

E.g this will not prevent to insert 2 currencies 'FOO' with company_id = NULL!
-- 
https://code.launchpad.net/~openerp-dev/openobject-server/trunk-bug-789019-nco/+merge/69277
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-server/trunk-bug-789019-nco.

_______________________________________________
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