[FIX] mrp: typo in the error message

Closes #14854
This commit is contained in:
jeffery chen fan
2017-01-03 15:35:39 +01:00
committed by Martin Trigaux
parent 8203cdb9ff
commit f89c4c2002
+1 -1
View File
@@ -120,7 +120,7 @@ class StockMove(models.Model):
@api.multi
def action_cancel(self):
if any(move.quantity_done for move in self):
raise exceptions.UserError(_('You cannot cancel a move move having already consumed material'))
raise exceptions.UserError(_('You cannot cancel a stock move having already consumed material'))
return super(StockMove, self).action_cancel()
@api.multi