mirror of
https://github.com/OCA/server-backend.git
synced 2025-02-18 09:52:42 +02:00
[MIG] base_global_discount: Migration to 13.0
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user