base_custom_attributes: create() on raises KeyError

Bug #1256023 reported by Guewen Baconnier @ Camptocamp on 2013-11-28
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenERP Product Attributes

Bug Description


The line
     for attribute in vals.get('attribute_ids', []):
has been replaced by
     for attribute in vals['attribute_ids']:

Which obviously fails if no attribute_ids is given in create().

Related branches

summary: - base_custom_attributes: create() on attribute.set raises KeyError
+ base_custom_attributes: create() on raises KeyError
Changed in openerp-product-attributes:
status: New → Fix Committed
Changed in openerp-product-attributes:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers