[FIX+IMP] account_tax_balance:

* Test
* README
* add extra parent menu. If not, with the web_responsive module is mixed
  between other menus
This commit is contained in:
eLBati
2017-01-18 16:48:46 +01:00
committed by Borruso
parent 052ebd4472
commit d3fcbb4455
6 changed files with 294 additions and 14 deletions

View File

@@ -65,7 +65,7 @@ class TestAccountTaxBalance(TransactionCase):
self.assertEqual(invoice.state, 'draft')
# change the state of invoice to open by clicking Validate button
invoice.signal_workflow('invoice_open')
invoice.action_invoice_open()
self.assertEquals(tax.base_balance, 100.)
self.assertEquals(tax.balance, 10.)
@@ -135,7 +135,7 @@ class TestAccountTaxBalance(TransactionCase):
self.assertEqual(refund.state, 'draft')
# change the state of refund to open by clicking Validate button
refund.signal_workflow('invoice_open')
refund.action_invoice_open()
self.assertEquals(tax.base_balance, 75.)
self.assertEquals(tax.balance, 7.5)