← Back to team overview

openerp-india team mailing list archive

[Bug 958897] Re: [6.1] Purchase/Sale Order does not use product's non-reference Unit-type Unit of Measure

 

Hello,

I have attached branch for fix the problem on set the puchase unit of measure  in Purchase order line.
Also  I have assigned this issue to RD Team for same problem in  sale order line . They will take appropriate decision for it.

This  issue has been fixed with following branch and revision.

https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-
bug-958897-vpa

Revision info :  6748 vpa@xxxxxxxxxxx-20120419112754-2c427joqrwslh21v

Revision no : 6748

Thanks.

** Changed in: openobject-addons
       Status: In Progress => Confirmed

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

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