[MIG] contract_variable_quantity: Migration to 14.0

[UPD] Update contract_variable_quantity.pot

[UPD] README.rst
This commit is contained in:
Víctor Martínez
2021-09-23 16:56:27 +02:00
committed by Juanjo
parent 31013fe72b
commit a51bbc2037
8 changed files with 101 additions and 60 deletions

View File

@@ -3,15 +3,16 @@
# Copyright 2018 ACSONE SA/NV
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
import odoo.tests
from odoo import exceptions
from odoo.tests.common import SavepointCase
@odoo.tests.at_install(False)
@odoo.tests.post_install(True)
class TestContractVariableQuantity(odoo.tests.HttpCase):
class TestContractVariableQuantity(SavepointCase):
at_install = False
post_install = True
def setUp(self):
super(TestContractVariableQuantity, self).setUp()
super().setUp()
self.partner = self.env["res.partner"].create({"name": "Test partner"})
self.product = self.env["product.product"].create({"name": "Test product"})
self.contract = self.env["contract.contract"].create(