← Back to team overview

openerp-expert-production team mailing list archive

[Bug 939565] [NEW] onchange on quantities does not take UoS into account

 

You have been subscribed to a public bug by Amit Bhavsar (Open ERP) (amb-openerp):

In "stock" there are onchange events to copy the UoM quantity to the UoS quantity.
But they produce wrong results if the UoM and UoS are different than the ones entered in the products.
Example:
- enter a product with UoM=Kg, UoS=PCE, factor=2
- enter a stock move with qty=1000g, uos_qty=2 PCE
- then change qty=1200g => uos_qty is set to 2400 PCE instead of 2.4 PCE .
In addition to the UoM>UoS factor, the system must convert from the selected UoM and to the selected UoS.
Lionel Sausin.

** Affects: openobject-addons
     Importance: Undecided
         Status: Opinion

-- 
onchange on quantities does not take UoS into account
https://bugs.launchpad.net/bugs/939565
You received this bug notification because you are a member of OpenERP Manufacturing Experts, which is subscribed to the bug report.