[FIX] sale_coupon(_delivery): fix coupon test with product configurator
The copy() is unnecessary, and it is introducing an issue because product.template.attribute.value are not created correctly for copied templates. The test can be done on the original data, the transaction is going to be reverted either way. closes odoo/enterprise#3301
This commit is contained in:
@@ -8,7 +8,7 @@ class TestSaleCouponProgramRules(TestSaleCouponCommon):
|
||||
|
||||
def setUp(self):
|
||||
super(TestSaleCouponProgramRules, self).setUp()
|
||||
self.iPadMini = self.env.ref('product.product_product_6').copy()
|
||||
self.iPadMini = self.env.ref('product.product_product_6')
|
||||
|
||||
# Test a free shipping reward + some expected behavior
|
||||
# (automatic line addition or removal)
|
||||
|
||||
Reference in New Issue
Block a user