mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
Wrong model reference
This commit is contained in:
@@ -89,7 +89,7 @@ class MrpBomLine(models.Model):
|
||||
'product_qty') or lines.product_qty
|
||||
product_uom_id = values.get('product_uom_id')
|
||||
if product_uom_id:
|
||||
product_uom_id = self.env["product.uom"].browse(
|
||||
product_uom_id = self.env["uom.uom"].browse(
|
||||
product_uom_id)
|
||||
product_uom_id = product_uom_id or lines.product_uom_id
|
||||
bom.message_post_with_view(
|
||||
|
||||
Reference in New Issue
Block a user