mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
Fix unit test
Co-Authored-By: Pedro M. Baeza <pedro.baeza@tecnativa.com>
This commit is contained in:
committed by
AmmarOSI
parent
84b84dc41e
commit
7eb59f5a50
@@ -38,6 +38,7 @@ class TestContractPaymentInit(odoo.tests.HttpCase):
|
|||||||
})
|
})
|
||||||
self.contract = self.env['contract.contract'].create({
|
self.contract = self.env['contract.contract'].create({
|
||||||
'name': 'Maintenance of Servers',
|
'name': 'Maintenance of Servers',
|
||||||
|
'partner_id': self.partner.id,
|
||||||
})
|
})
|
||||||
company = self.env.ref('base.main_company')
|
company = self.env.ref('base.main_company')
|
||||||
self.journal = self.env['account.journal'].create({
|
self.journal = self.env['account.journal'].create({
|
||||||
|
|||||||
Reference in New Issue
Block a user