Skip to content
Snippets Groups Projects
Commit 404c2b29 authored by Richard deMeester's avatar Richard deMeester
Browse files

[FIX] stock: Production Lot On Hand api.depends

Production Lot quantities are not recalculating
mid transaction without depends.

X-original-commit: 5aec7497
parent d4ad15d5
No related branches found
No related tags found
No related merge requests found
......@@ -94,6 +94,7 @@ class ProductionLot(models.Model):
))
return super(ProductionLot, self).write(vals)
@api.depends('quant_ids', 'quant_ids.quantity')
def _product_qty(self):
for lot in self:
# We only care for the quants in internal or transit locations.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment