openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #16198
[Bug 958897] Re: [6.1/Trunk] Purchase/Sale Order does not use product's non-reference Unit-type Unit of Measure
** Changed in: openobject-addons
Status: Fix Committed => Fix Released
--
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/958897
Title:
[6.1/Trunk] Purchase/Sale Order does not use product's non-reference
Unit-type Unit of Measure
Status in OpenERP Addons (modules):
Fix Released
Bug description:
Problem:
For a product using Unit-type units of measure, both Sales Orders and
Purchase Orders use the reference unit of measure (PCE) and ignore the
product's 'Default Unit of Measure' and 'Purchase Unit of Measure',
respectively.
Steps to produce:
1. In product definition, use two different units for 'Default Unit of Measure' and 'Purchase Unit of Measure' that belong to the 'Unit' Unit of Measure category, but are different from the reference unit of measure (PCE).
E.g. create two new units of measure of category 'Unit': 'Pack 2' and 'Case 24' and use them as the 'Default Unit of Measure' and 'Purchase Unit of Measure', respectively.
Sales Order:
2. Crate a Sales Order, select a customer, and then create a Sales Order Line.
3. In the 'Create: Sales Order Lines', select a product whose Default Unit of Measure is not 'PCE' but is from the 'Unit' UoM Category, and notice that the UoM field remains PCE.
Purchase Order:
2. Create a Purchase Order, select a supplier, and then create a Purchase Order Line.
3. In the 'Create: Purchase Order Lines', select a product whose Default Unit of Measure is not 'PCE' but is from the 'Unit' UoM Category, and notice that the 'Product UOM' field remains PCE.
Expected Behavior:
The UoM field of the Sales Order and the Purchase Order lines should
update to the product's respective units. This works for other UoM
categories, but not for the 'Unit' category.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/958897/+subscriptions
References