Browse Source

[IMP] Improved code

pull/264/head
Nikul-Chaudhary 6 years ago
parent
commit
c7c01e1bc7
  1. 1
      contract_section/tests/test_contract.py

1
contract_section/tests/test_contract.py

@ -22,7 +22,6 @@ class TestContract(TestContractBase):
def test_create_invoice(self): def test_create_invoice(self):
""" Create contract with section""" """ Create contract with section"""
self.assertTrue(self.acct_line.layout_category_id)
self.contract.recurring_create_invoice() self.contract.recurring_create_invoice()
invoice_id = self.env['account.invoice'].search( invoice_id = self.env['account.invoice'].search(
[('contract_id', '=', self.contract.id)]) [('contract_id', '=', self.contract.id)])

Loading…
Cancel
Save