mirror of
https://github.com/OCA/manufacture.git
synced 2025-01-28 16:37:15 +02:00
fixed singleton error
quality_control_stock_oca 14.0.1.0.1
This commit is contained in:
committed by
Víctor Martínez
parent
35c04d9d15
commit
cbfceef95e
@@ -5,7 +5,7 @@
|
||||
|
||||
{
|
||||
"name": "Quality control - Stock (OCA)",
|
||||
"version": "14.0.1.0.0",
|
||||
"version": "14.0.1.0.1",
|
||||
"category": "Quality control",
|
||||
"license": "AGPL-3",
|
||||
"author": "OdooMRP team, AvanzOSC, Serv. Tecnol. Avanzados - Pedro M. Baeza, "
|
||||
|
||||
@@ -69,7 +69,7 @@ class QcInspection(models.Model):
|
||||
inspection.product_id = inspection.object_id.product_id
|
||||
elif inspection.object_id._name == "stock.move.line":
|
||||
inspection.product_id = inspection.object_id.product_id
|
||||
elif self.object_id._name == "stock.production.lot":
|
||||
elif inspection.object_id._name == "stock.production.lot":
|
||||
inspection.product_id = inspection.object_id.product_id
|
||||
|
||||
@api.onchange("object_id")
|
||||
|
||||
Reference in New Issue
Block a user