From 7819a498bb83fd8aa3ab2468622766b6d5d3f25f Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Tue, 16 Jan 2018 11:05:30 +0100 Subject: [PATCH] [FIX] sale_coupon: missing parenthesis --- models/sale_coupon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/sale_coupon.py b/models/sale_coupon.py index 58500211b47..e905b547904 100644 --- a/models/sale_coupon.py +++ b/models/sale_coupon.py @@ -76,7 +76,7 @@ class SaleCoupon(models.Model): elif not self.program_id._is_valid_partner(order.partner_id): message = {'error': _("The customer doesn't have access to this reward.")} elif not self.program_id._filter_programs_on_products(order): - message = {'error': _("You don't have the required product quantities on your sales order. All the products should be recorded on the sales order. (Example: You need to have 3 T-shirts on your sales order if the promotion is 'Buy 2, Get 1 Free'.")} + message = {'error': _("You don't have the required product quantities on your sales order. All the products should be recorded on the sales order. (Example: You need to have 3 T-shirts on your sales order if the promotion is 'Buy 2, Get 1 Free').")} else: if self.program_id not in applicable_programs and self.program_id.promo_applicability == 'on_current_order': message = {'error': _('At least one of the required conditions is not met to get the reward!')}