base_custom_attributes: create() on attribute.group raises KeyError

Bug #1256023 reported by Guewen Baconnier @ Camptocamp
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenERP Product Attributes
Fix Released
Undecided
Unassigned

Bug Description

Since http://bazaar.launchpad.net/~product-core-editors/openerp-product-attributes/7.0/revision/224

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 attribute.group 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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.