← Back to team overview

openerp-india team mailing list archive

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

 

** Changed in: openobject-addons
   Importance: Undecided => Wishlist

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP R&D Addons Team 2 (openerp-dev-addons2)

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