fix for pg9_complete bug
parent
15c46b2428
commit
acd4b3db77
|
|
@ -181,8 +181,8 @@ class SaleOrder(models.Model):
|
|||
p += 1
|
||||
if line.product_id.material_type_id.production_relevant:
|
||||
pp += 1
|
||||
if line.product_uom_qty > line.qty_delivered and line.from_designbox:
|
||||
pg_complete = False
|
||||
if line.product_uom_qty > line.qty_delivered and line.from_designbox:
|
||||
pg_complete = False
|
||||
|
||||
record.pg9_complete = pg_complete
|
||||
record.positions = p
|
||||
|
|
|
|||
Loading…
Reference in New Issue