From 39329f3a97e9e7ec9bb1e27942306b034bc9ffd4 Mon Sep 17 00:00:00 2001 From: Thomas Binsfeld Date: Tue, 1 Oct 2019 09:31:50 +0200 Subject: [PATCH] [REF] Contract Mandate: remove unused objects in unit tests --- contract_mandate/tests/test_contract_mandate.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/contract_mandate/tests/test_contract_mandate.py b/contract_mandate/tests/test_contract_mandate.py index b11dd9b9..1c4e4f7c 100644 --- a/contract_mandate/tests/test_contract_mandate.py +++ b/contract_mandate/tests/test_contract_mandate.py @@ -1,7 +1,6 @@ # Copyright 2017 Carlos Dauden - Tecnativa # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from odoo.tests import common from odoo.addons.contract.tests.test_contract import TestContractBase @@ -34,15 +33,6 @@ class TestContractMandate(TestContractBase): 'partner_bank_id': cls.partner_bank.id, 'signature_date': '2017-01-01', }) - cls.uom = cls.env.ref('product.product_uom_hour') - cls.product = cls.env['product.product'].create({ - 'name': 'Custom Service', - 'type': 'service', - 'uom_id': cls.uom.id, - 'uom_po_id': cls.uom.id, - 'sale_ok': True, - 'taxes_id': [(6, 0, [])], - }) cls.contract_with_mandate = cls.contract2.copy( { 'partner_id': cls.partner.id,