← Back to team overview

openerp-india team mailing list archive

[Bug 954189] Re: Selected UOM does not belong to the same category as the product UOM

 

Its correct

the error rises because uom_id always have a default UoM  PCE and never
gets true on line 765:

        if not uom_id:
            uom_id = product_uom_po_id

It solves adding one condition and it doesnt cause harm:

        if not uom_id or uom_id != product_uom_po_id:
            uom_id = product_uom_po_id


** Changed in: openobject-addons
       Status: New => 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/954189

Title:
  Selected UOM does not belong to the same category as the product UOM

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  Hi,

  in 6.1 i have the Problem that when i make an purchase order select
  create and then create an purchase order line.

  When i select then a product i got allways "Selected UOM does not
  belong to the same category as the product UOM "

  but the UOM are the same ?

  When i go over warehouse incomming shipment - > create -> Stock Moves
  select a Product all is OK ?

  
  Stefan

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/954189/+subscriptions


References