From 2af2f4f5583c49d6d77160dec111d243568bb382 Mon Sep 17 00:00:00 2001 From: Yannick Tivisse Date: Tue, 31 Jan 2017 10:31:37 +0100 Subject: [PATCH] [FIX] sale_coupon: Allow the public users to use the coupon mechanism --- models/sale_order.py | 1 - 1 file changed, 1 deletion(-) diff --git a/models/sale_order.py b/models/sale_order.py index 6ce7febaa78..37a4a3fcf29 100644 --- a/models/sale_order.py +++ b/models/sale_order.py @@ -44,7 +44,6 @@ class SaleOrder(models.Model): order._update_existing_reward_lines() return res - def action_confirm(self): res = super(SaleOrder, self).action_confirm() self.generated_coupon_ids.write({'state': 'new'})