Browse Source

Fix unit test

Co-Authored-By: Pedro M. Baeza <pedro.baeza@tecnativa.com>
pull/236/head
Bejaoui Souheil 5 years ago
committed by GitHub
parent
commit
c871e2b312
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      contract_payment_mode/tests/test_contract_payment.py

1
contract_payment_mode/tests/test_contract_payment.py

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

Loading…
Cancel
Save