Fix unit test

Co-Authored-By: Pedro M. Baeza <pedro.baeza@tecnativa.com>
This commit is contained in:
Bejaoui Souheil
2019-09-30 09:13:12 +02:00
committed by AmmarOSI
parent 84b84dc41e
commit 7eb59f5a50

View File

@@ -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({