mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[FIX] account_invoice_tax_required: Fix tests
This commit is contained in:
@@ -68,8 +68,6 @@ class TestAccountInvoiceTaxRequired(TransactionCase):
|
||||
def test_exception(self):
|
||||
"""Validate invoice without tax must raise exception
|
||||
"""
|
||||
self.invoice.action_date_assign()
|
||||
self.invoice.action_move_create()
|
||||
with self.assertRaises(exceptions.Warning):
|
||||
self.invoice.with_context(
|
||||
test_tax_required=True).invoice_validate()
|
||||
test_tax_required=True).action_invoice_open()
|
||||
|
||||
Reference in New Issue
Block a user