← Back to team overview

openerp-expert-production team mailing list archive

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

 

Please let me emphasize that this bug will lead to incorrect invoices, and suggest you increase the Importance to something more than "wishlist".
Lionel.

-- 
You received this bug notification because you are a member of OpenERP
Manufacturing Experts, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/939565

Title:
  onchange on quantities does not take UoS into account

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/939565/+subscriptions