[MIG] base_global_discount: Migration to 13.0

This commit is contained in:
Ernesto Tejeda
2020-11-03 19:07:07 -05:00
parent 5830b70af5
commit 2ba9cb53e7
12 changed files with 75 additions and 29 deletions

View File

@@ -9,10 +9,10 @@ class TestGlobalDiscount(common.SavepointCase):
super().setUpClass()
cls.global_discount_obj = cls.env["global.discount"]
cls.global_discount_1 = cls.global_discount_obj.create(
{"name": "Test Discount 1", "discount_scope": "sale", "discount": 20,}
{"name": "Test Discount 1", "discount_scope": "sale", "discount": 20}
)
cls.global_discount_2 = cls.global_discount_obj.create(
{"name": "Test Discount 2", "discount_scope": "sale", "discount": 30,}
{"name": "Test Discount 2", "discount_scope": "sale", "discount": 30}
)
def test_01_global_discounts(self):