Permalink
Browse files

fixup! [REF] mrp: compute state for production

  • Loading branch information...
amoyaux committed Nov 8, 2018
1 parent 04585d0 commit bbf81154199372736b70ac71492384bbced9d0a1
Showing with 1 addition and 1 deletion.
  1. +1 −1 addons/mrp/models/mrp_production.py
@@ -253,7 +253,7 @@ def _compute_workorder_done_count(self):
production.workorder_done_count = count_data.get(production.id, 0)
@api.multi
@api.depends('move_raw_ids.state', 'move_finished_ids.state', 'workorder_ids', 'qty_produced', 'move_raw_ids.quantity_done')
@api.depends('move_raw_ids.state', 'move_finished_ids.state', 'workorder_ids', 'qty_produced', 'move_raw_ids.quantity_done', 'product_qty')
def _compute_state(self):
""" Compute the production state. It use the same process than stock
picking. It exists 3 extra steps for production:

0 comments on commit bbf8115

Please sign in to comment.