← Back to team overview

openerp-india team mailing list archive

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

 

Public bug reported:

In various modules (at least sale and stock) there are onchange events to copy the UoM quantity to the UoS quantity.
But that's wrong if the UoM and UoS are different. Example: enter qty=10 Kg, uos_qty=4 PCE, then change qty=12 Kg => uos_qty is set to 12 PCE.
The best guess the system could make would be to apply the UoM>UoS factor and then convert to the selected UoS.
Lionel Sausin.

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

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/939565

Title:
  onchange on quantities does not take UoS into account

Status in OpenERP Addons (modules):
  New

Bug description:
  In various modules (at least sale and stock) there are onchange events to copy the UoM quantity to the UoS quantity.
  But that's wrong if the UoM and UoS are different. Example: enter qty=10 Kg, uos_qty=4 PCE, then change qty=12 Kg => uos_qty is set to 12 PCE.
  The best guess the system could make would be to apply the UoM>UoS factor and then convert to the selected UoS.
  Lionel Sausin.

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


Follow ups

References