Problem while creating a BoM by duplicating an existing one

Bug #673557 reported by Harmel Delphine (OpenERP)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP R&D Addons Team 2

Bug Description

In the trunk,

* Create a ARM100 product and an associated BoM
* Duplicate the ARM100 product by ARM100KIT
* Duplicate the ARM100 BoM to create the BoM ARM100KIT

Expected Result : a duplicated BoM is created with the ARM100 product (that we will then modified with the ARM100KIT product)

Obtained Result : two duplicated BoMs are created, one with the ARM100 product and another one with ARM100KIT product

Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
importance: Undecided → Medium
status: New → Confirmed
importance: Medium → Low
Revision history for this message
qdp (OpenERP) (qdp) wrote :

on copy(), emove the porduct and the name of bom

Changed in openobject-addons:
milestone: none → 6.0-rc2
Revision history for this message
qdp (OpenERP) (qdp) wrote :

i meant: "remove the product and the name of duplciated BoM"...

Revision history for this message
Rucha (Open ERP) (rpa-openerp) wrote :

Its because when you copy product it automatically copies bom_ids (which is one2many field in product.product),
so you will have one new BOM for copied product, no need to copy BOM again...

Changed in openobject-addons:
status: Confirmed → Triaged
Revision history for this message
qdp (OpenERP) (qdp) wrote :

the duplication of bom when duplicating a product seems a good idea, so we should keep it. The only thing is that the new Bom of the copied product has kept the former name which is a bit confusing. We should add (copy) after the name of duplicated bom.

Changed in openobject-addons:
status: Triaged → Confirmed
Revision history for this message
Rucha (Open ERP) (rpa-openerp) wrote :

It has been fixed in lp:~openerp-dev/openobject-addons/trunk-dev-addons2
revision-id: <email address hidden>
revision-num: 3878
Thanks

Changed in openobject-addons:
status: Confirmed → 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.