Updated the proposal taking into account your comments.
Still, I don't see cases where we are garanteed that 'name' and 'extension' are
in the vals.
When we do a create(), we are able to call it without any of them ('name' is
mandatory, so the call to super() will raise an exception, but it should not
crash because of the key error).
When we do a write(), we can call it without a 'name' or an 'extension' or any
of them.
--
https://code.launchpad.net/~camptocamp/openerp-product-attributes/7.0-product_images-migr/+merge/145630
Your team OpenERP Community is subscribed to branch
lp:openerp-product-attributes.
_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-community
More help : https://help.launchpad.net/ListHelp