Skip to content
Snippets Groups Projects
Commit c1047e9a authored by Nicolas Martinelli's avatar Nicolas Martinelli
Browse files

[FIX] mrp: quantity_available depends

parent 36403601
No related branches found
No related tags found
No related merge requests found
......@@ -81,7 +81,7 @@ class StockMove(models.Model):
store=True,
help='Technical Field to order moves') # TDE: what ?
@api.multi
@api.depends('state', 'product_uom_qty', 'reserved_availability')
def _qty_available(self):
for move in self:
# For consumables, state is available so availability = qty to do
......
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