base_custom_attributes: create() on attribute.group raises KeyError
Bug #1256023 reported by
Guewen Baconnier @ Camptocamp
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenERP Product Attributes |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Since http://
The line
for attribute in vals.get(
has been replaced by
for attribute in vals['attribute
Which obviously fails if no attribute_ids is given in create().
Related branches
lp:~camptocamp/openerp-product-attributes/7.0-attribute-set-create-1256023
- Sébastien BEAU - http://www.akretion.com: Approve ((code review, no test))
- Alex Comba - Agile BG (community): Approve (code review, no test)
- Pedro Manuel Baeza: Approve (code review, no test)
-
Diff: 15 lines (+3/-3)1 file modifiedbase_custom_attributes/custom_attributes.py (+3/-3)
lp:~camptocamp/openerp-product-attributes/6.1-backport-lot-custom-attributes-lep
- Omar (Pexego): Approve (code review, no test)
-
Diff: 2143 lines (+2048/-0)18 files modifiedbase_custom_attributes/__init__.py (+29/-0)
base_custom_attributes/__openerp__.py (+48/-0)
base_custom_attributes/custom_attributes.py (+440/-0)
base_custom_attributes/custom_attributes_view.xml (+312/-0)
base_custom_attributes/i18n/base_custom_attributes.pot (+291/-0)
base_custom_attributes/i18n/fr.po (+291/-0)
base_custom_attributes/ir_model.py (+39/-0)
base_custom_attributes/security/attribute_security.xml (+11/-0)
base_custom_attributes/security/ir.model.access.csv (+13/-0)
production_lot_custom_attributes/__init__.py (+25/-0)
production_lot_custom_attributes/__openerp__.py (+62/-0)
production_lot_custom_attributes/custom_attributes_view.xml (+58/-0)
production_lot_custom_attributes/lot.py (+207/-0)
production_lot_custom_attributes/lot_view.xml (+52/-0)
production_lot_custom_attributes/test/lot_attribute_test.yml (+48/-0)
production_lot_custom_attributes/wizard/__init__.py (+25/-0)
production_lot_custom_attributes/wizard/open_lot_by_attribute_set.py (+67/-0)
production_lot_custom_attributes/wizard/open_lot_by_attribute_set.xml (+30/-0)
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.