From c99ac69e618dc3c3a80d4c9b30173fa6f2b5599b Mon Sep 17 00:00:00 2001 From: "sgo@tinyerp.com" <> Date: Tue, 11 Jun 2013 14:08:59 +0530 Subject: [PATCH] [IMP]improve message string bzr revid: sgo@tinyerp.com-20130611083859-tamafus1vdohpjyg --- 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 8fcf6fc47a7..af3555d07f8 100644 --- a/addons/sale_stock/sale_stock.py +++ b/addons/sale_stock/sale_stock.py @@ -70,7 +70,7 @@ class sale_order(osv.osv): company_id = self.pool.get('res.users').browse(cr, uid, uid, context=context).company_id.id warehouse_ids = self.pool.get('stock.warehouse').search(cr, uid, [('company_id','=',company_id)], context=context) if not warehouse_ids: - raise osv.except_osv(_('Error!'), _('There is no warehouse defined for the current company!')) + raise osv.except_osv(_('Error!'), _('There is no warehouse defined for current company.')) return warehouse_ids[0] # This is False