Manufacturing order on_change needs to update product quantity

Bug #1079716 reported by Kyle Waid
8
This bug affects 1 person
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

Amit Parik (amit-parik)
Changed in openobject-addons:
assignee: nobody → OpenERP R&D Addons Team 2 (openerp-dev-addons2)
importance: Undecided → Wishlist
status: New → Confirmed
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.