mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[REF] Contract Mandate: remove unused objects in unit tests
This commit is contained in:
committed by
hkapatel
parent
af9ad7e7bd
commit
d9710d5a40
@@ -1,7 +1,6 @@
|
||||
# Copyright 2017 Carlos Dauden - Tecnativa <carlos.dauden@tecnativa.com>
|
||||
# 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,
|
||||
|
||||
Reference in New Issue
Block a user