summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjeffery chen fan <jeffery9@gmail.com>2016-12-28 15:29:22 +0800
committerMartin Trigaux <mat@odoo.com>2017-01-03 15:35:39 +0100
commitf89c4c20024467c6035c43697ad84daafe6d6418 (patch)
treea7d1beddb1bc38d0dd51caedf8b1f2e7feee0fa1
parent8203cdb9ff2dd4635a1df9fe1db403b36c8ec7a8 (diff)
[FIX] mrp: typo in the error message
Closes #14854
-rw-r--r--addons/mrp/models/stock_move.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mrp/models/stock_move.py b/addons/mrp/models/stock_move.py
index 39f190ece58..9daa3069593 100644
--- a/addons/mrp/models/stock_move.py
+++ b/addons/mrp/models/stock_move.py
@@ -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