summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorSimon Lejeune <sle@openerp.com>2017-11-13 14:58:45 +0100
committerSimon Lejeune <sle@openerp.com>2017-11-14 17:44:15 +0100
commit79821458facfdddc0087a5e85aadceb585dd8b04 (patch)
tree1fe07a8d6c25a81469c1dbcd5b3355b56bf5d431 /addons
parent217661ab7f60e05f0a7f321e7b0bda746f819f9e (diff)
[REF] stock: wording on view location constraint
Diffstat (limited to 'addons')
-rw-r--r--addons/stock/models/stock_quant.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/stock/models/stock_quant.py b/addons/stock/models/stock_quant.py
index 4a8170d9f4e..2b2a226aa5d 100644
--- a/addons/stock/models/stock_quant.py
+++ b/addons/stock/models/stock_quant.py
@@ -84,7 +84,7 @@ class StockQuant(models.Model):
def check_location_id(self):
for quant in self:
if quant.location_id.usage == 'view':
- raise ValidationError(_('A product cannot be stored in a "view" location.'))
+ raise ValidationError(_('You cannot take products from or deliver products to a location of type "view".'))
@api.one
def _compute_name(self):