From 2bbf3c516df41842302c10326fd6bcd14168a89d Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Wed, 23 Sep 2015 05:13:37 -0700 Subject: [PATCH] [IMP] better warning message --- addons/sale_stock/sale_stock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/sale_stock/sale_stock.py b/addons/sale_stock/sale_stock.py index 0df3eee3633..049857267ff 100644 --- a/addons/sale_stock/sale_stock.py +++ b/addons/sale_stock/sale_stock.py @@ -151,7 +151,7 @@ class SaleOrderLine(models.Model): if self.state == 'sale' and self.product_id.type != 'service': warning_mess = { 'title': _('Ordered quantity changed!'), - 'message' : _('You have changed the quantity ordered! If the quantity was decreased, you need to modify manually the delivery order.'), + 'message' : _('You are changing the ordered quantity! If you decreased the initial quantity, do not forget to manually update the delivery order if needed.'), } return {'warning': warning_mess} return {}