Skip to content
Snippets Groups Projects
Unverified Commit f89c4c20 authored by jeffery chen fan's avatar jeffery chen fan Committed by Martin Trigaux
Browse files

[FIX] mrp: typo in the error message

Closes #14854
parent 8203cdb9
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment