Manufacturing order on_change needs to update product quantity
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Confirmed
|
Wishlist
|
OpenERP R&D Addons Team 2 |
Bug Description
Manufacturing order does not onchange product quantity.
Create product A, UOM=PCE, Rounding Precision=1, Reference for Category. Name=55 LB Bag
Create product B UOM=LB, Rounding Precision=0.010, Reference for Category. Name=1LB
Create Bill of Materials. consume 1 of product A. Produces 55 of product B.
Create manufacturing order. Select BOM. Item default quantity selected is 1, but should be 55.
Not properly detecting the unit quantity will cause a piece with RP=1 to be partially broken. If the onchange properly selected the unit quantity as defined in the parent BOM RP would = 1.0
Additionally, there should be a check. Check if manufacturing order will break 1.0 RP. If so, raise error. Allowing breakage of 1PC will corrupt the database, and the companies stock
Changed in openobject-addons: | |
assignee: | nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2) |
importance: | Undecided → Wishlist |
status: | New → Confirmed |