summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
Diffstat (limited to 'addons')
-rw-r--r--addons/website_sale/models/product.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/addons/website_sale/models/product.py b/addons/website_sale/models/product.py
index ff61753a794..aaa235707a5 100644
--- a/addons/website_sale/models/product.py
+++ b/addons/website_sale/models/product.py
@@ -126,8 +126,7 @@ class ProductPricelist(models.Model):
'''
for record in self.filtered(lambda pl: pl.website_id and pl.company_id):
if record.website_id.company_id != record.company_id:
- raise ValidationError(_("Only the company's websites are allowed. \
- Leave the Company field empty or select a website from that company."))
+ raise ValidationError(_("""Only the company's websites are allowed.\nLeave the Company field empty or select a website from that company."""))
class ProductPublicCategory(models.Model):