multi level BOM forces phantom set
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) | Status tracked in Trunk | |||||
5.0 |
Confirmed
|
Low
|
Jay Vora (Serpent Consulting Services) | |||
Trunk |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I've got this 2 level BOM structure
piece
piece1
Material1
piece2
Material2
I defined piece, piece1, piece2 as procurement to order, produce. Material1 and Material2, procurement to order, buy.
I installed a fresh manufacturing profile database with mrp_operations, mrp_jit and mrp_repair. Nothing more on 5.0.6 (ubuntu 9.04)
I defined exactly that structure using shortcut from BOM screen. That is...
1. New BOM
2. Define piece with piece1 and piece2 as part of bom structure
3. From Bom structure, open piece1, include material1 as part of his bom structure. Close the piece1 form and go back.
4, From piece bom structure, open piece2, include material2 as part of his bom structure. Close the piece2 form and go back.
5. Save
Type of bom is LDM normal for 3 bom structures.
Create a new work order for 3 piece. Piece1 and Piece2 are substitued for material1 and material2, as piece1 and piece2 where defined as phantom. But they arent. I think this is a bug.
If you define 3 bom structures at first level, like this, it is working right:
piece
piece1
piece2
piece1
material1
piece2
material2
Thank you very much.
Ana
Changed in openobject-addons: | |
status: | New → Triaged |
Hello Ana,
I followed the same steps and configuration.
First created bom with 3 level and created production order.
I got material1 and material 2 substituted in production order.
then created separate BOM like
piece
piece1
piece2
piece1
material1
piece2
material2
In both cases it is giving same result in production order.
I have tested on latest stable server,addons.
Thanks.
HDA