Add generic test for check erase party
issue9895 review324571002
This commit is contained in:
1 parent
aa52f4c224
commit
ddf30e21ad
1 file changed
+4
-2
@@ -10,9 +10,11 @@ from trytond.tests.test_tryton import doctest_teardown
|
||||
from trytond.tests.test_tryton import doctest_checker
|
||||
from trytond.pool import Pool
|
||||
|
||||
from ..exceptions import PaymentTermValidationError
|
||||
from trytond.modules.company.tests import PartyCompanyCheckEraseMixin
|
||||
from trytond.modules.currency.tests import create_currency
|
||||
|
||||
from ..exceptions import PaymentTermValidationError
|
||||
|
||||
|
||||
def set_invoice_sequences(fiscalyear):
|
||||
pool = Pool()
|
||||
@@ -33,7 +35,7 @@ def set_invoice_sequences(fiscalyear):
|
||||
return fiscalyear
|
||||
|
||||
|
||||
class AccountInvoiceTestCase(ModuleTestCase):
|
||||
class AccountInvoiceTestCase(PartyCompanyCheckEraseMixin, ModuleTestCase):
|
||||
'Test AccountInvoice module'
|
||||
module = 'account_invoice'
|
||||
|
||||
|
||||
Reference in new issue
Block a user