mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[IMP] contract_show_invoice: ADD total invoiced in show invoices button (#181)
This commit is contained in:
committed by
Pedro M. Baeza
parent
f944b485c7
commit
8a5de59ada
@@ -26,3 +26,7 @@ class TestContractShowInvoice(TransactionCase):
|
||||
|
||||
def test_contract_show_invoice(self):
|
||||
self.assertEqual(len(self.analytic_account.analytic_account_ids), 1)
|
||||
|
||||
def test_contract_total_invoiced(self):
|
||||
self.assertEqual(self.invoice.amount_total,
|
||||
self.analytic_account.total_invoiced)
|
||||
|
||||
Reference in New Issue
Block a user