← Back to team overview

openerp-india team mailing list archive

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

 

> I have also realized that, In whole process 'UOM' never come into picture. This is not a burning Issue. But can not Ignore this.
Yes I realized that too when I read the code, and I change the bug description accordingly, so I think we agree.
I'm setting confirmed, others may set back to opinion if they find a flaw in our diagnostics.
Lionel.

** Changed in: openobject-addons
       Status: Opinion => Confirmed

-- 
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):
  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


References