openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #10505
[Bug 958897] Re: [6.1] Purchase/Sale Order does not use product's non-reference Unit-type Unit of Measure
I have tried this, however the warning message still occurs.
The if statement in the code still occurs and the warning is still produced. Though you can still continue with the uom being brought in.
eg.
829 uom_id = product_uom_po_id
830
829 uom_id = product_uom_po_id
Can you please confirm that the warning disappears on your side.
--
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] Purchase/Sale Order does not use product's non-reference Unit-
type Unit of Measure
Status in OpenERP Addons (modules):
Confirmed
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