diff --git a/product_contract_variable_quantity/models/sale_order_line.py b/product_contract_variable_quantity/models/sale_order_line.py index d66b9874..3cb055ac 100644 --- a/product_contract_variable_quantity/models/sale_order_line.py +++ b/product_contract_variable_quantity/models/sale_order_line.py @@ -3,8 +3,7 @@ # Copyright 2017 ACSONE SA/NV. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). -from odoo import api, fields, models, _ -from odoo.exceptions import ValidationError +from odoo import api, fields, models class SaleOrderLine(models.Model): diff --git a/product_contract_variable_quantity/readme/DESCRIPTION.rst b/product_contract_variable_quantity/readme/DESCRIPTION.rst index 6e1777db..3e5d5e3c 100644 --- a/product_contract_variable_quantity/readme/DESCRIPTION.rst +++ b/product_contract_variable_quantity/readme/DESCRIPTION.rst @@ -1 +1 @@ -This module enable add default values to contract products for variable quantity formula. \ No newline at end of file +This module add default values to contract products for variable quantity formula. \ No newline at end of file diff --git a/product_contract_variable_quantity/tests/test_sale_order.py b/product_contract_variable_quantity/tests/test_sale_order.py index 6b6a64b5..17485cc9 100644 --- a/product_contract_variable_quantity/tests/test_sale_order.py +++ b/product_contract_variable_quantity/tests/test_sale_order.py @@ -3,7 +3,6 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from odoo.tests.common import TransactionCase -from odoo.exceptions import ValidationError class TestSaleOrder(TransactionCase):