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!')}