MRP: Properties do not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Fix Released
|
Low
|
OpenERP R&D Addons Team 2 | ||
6.1 |
Confirmed
|
Low
|
OpenERP Publisher's Warranty Team |
Bug Description
On the trunk, when we define several BoM for the same product with different properties, the BoM selected is not correct according the properties selected in the Sale Order.
Steps to reproduce:
- Create 3 product (1 to produce and 2 components)
Example: Steel Table (Stockable, MTO, To produce), Table Legs (Stockable, MTS, Buy), Steel Panel (Stockable, MTS, buy) [Create an inventory to put some unit in stock for the table legs and steel panel]
- Create a property group 'Table type' in which you define two properties: 'Kit' and 'Assembled'
- Create two BoM for the steel table
* One with the type: Nomal BoM and one with Kit Phantom type
* Components: 1 panel and 4 legs
* Property: For the Kit BoM, add the property Kit. For the Normal BoM, select the property Assembled
- Create a Sale Order for the product Steel Table and add in the Extra info tab the property Kit
- Deliver the components
- Create a Sale Order for the same product but add the property Assembled
- Deliver the components
--> Wrong! Should generate a Manufacturing Order
Expected behavior:
Selection of the BoM according to the properties defined in the BoM according to the properties selected in the Sales Order (and try to meet a maximum of them).
Related branches
- OpenERP Core Team: Pending requested
-
Diff: 13 lines (+2/-1)1 file modifiedsale/sale.py (+2/-1)
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2) |
importance: | Undecided → Low |
status: | New → Confirmed |
tags: |
added: maintenance removed: profserv |
Hello,
I look into more on this issue, and I noticed that the property_ids field never used when we confirmed the SO.
Currently it's only for the showing purpose. Wherever I have more then one BoM for one product then it will be identified from it's property. And currently it's not working , So that's why it become a problem when we have more then one BoM for same product.
So this is a good functionality for 6.1, that's why I am setting it as a 'Low'.
Thank you!