MRP : check_product very strict - BoM line product should not be same as BoM product.
Bug #985525 reported by
Antoine
This bug affects 7 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Confirmed
|
Low
|
OpenERP Publisher's Warranty Team |
Bug Description
In openerp 6.1 on module MRP, there are a function to check product on BoM.
BoM can't contained two lines or sublines with same product.
For example, we have a bom (bomA) with two bom composent, I named it bcomp1 and bcomp2 .
bcomp1 and bcomp2 contain a line with same product, product1 and parent bom is bomA.
With check_product constraint, there are a problem on bomA.
We work in electronic. bcomp1 and bcomp2 are bom of an electronic card and they used same LED (product1).
Why this hard check and not checked products only on BoM and checked products of bom composent without memorised products of parent BoM ?
Related branches
lp://staging/~therp-nl/openobject-addons/7.0-addons_lp985525-wrong-bom-test
On hold
for merging
into
lp://staging/openobject-addons/7.0
- OpenERP Core Team: Pending requested
-
Diff: 100 lines (+67/-20)1 file modifiedmrp/mrp.py (+67/-20)
Changed in openobject-addons: | |
status: | Incomplete → New |
Changed in openobject-addons: | |
assignee: | OpenERP R&D Addons Team 2 (openerp-dev-addons2) → OpenERP Publisher's Warranty Team (openerp-opw) |
tags: | added: maintenance |
no longer affects: | ocb-addons |
To post a comment you must log in.
Hello Antoine,
I have tested your scenario, I am not sure for this behaviour, It is really strict .....Or very strict ;-)
But we should Improve this things. That's why I have attached the video. would you please check it. As per my view, we should make readonly field "bom_id" in BOM Components form view.
So Let the team to take decision on it.
Thanks for the reporting!