Browse Source

[FIX] compute_purchase_order: product.uom -> uom.uom

pull/145/head
Vincent Van Rossem 5 years ago
committed by robin.keunen
parent
commit
33cbede8ae
  1. 4
      compute_purchase_order/models/computed_purchase_order_line.py

4
compute_purchase_order/models/computed_purchase_order_line.py

@ -41,7 +41,7 @@ class ComputedPurchaseOrderLine(models.Model):
read_only=True) read_only=True)
uom_id = fields.Many2one( uom_id = fields.Many2one(
'product.uom',
'uom.uom',
string='Unit of Measure', string='Unit of Measure',
read_only=True, read_only=True,
related='product_template_id.uom_id', related='product_template_id.uom_id',
@ -83,7 +83,7 @@ class ComputedPurchaseOrderLine(models.Model):
default=0.) default=0.)
uom_po_id = fields.Many2one( uom_po_id = fields.Many2one(
'product.uom',
'uom.uom',
string='Purchase Unit of Measure', string='Purchase Unit of Measure',
read_only=True, read_only=True,
related='product_template_id.uom_po_id', related='product_template_id.uom_po_id',

Loading…
Cancel
Save