mirror of
https://github.com/bringout/oca-ocb-accounting.git
synced 2026-04-22 11:22:00 +02:00
19.0 vanilla
This commit is contained in:
parent
ba20ce7443
commit
768b70e05e
2357 changed files with 1057103 additions and 712486 deletions
|
|
@ -0,0 +1,22 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from odoo.addons.account.tests.common import AccountTestInvoicingCommon
|
||||
from odoo.tests import tagged
|
||||
|
||||
|
||||
@tagged('post_install', '-at_install')
|
||||
class TestSetupWizard(AccountTestInvoicingCommon):
|
||||
|
||||
def test_setup_bank_account(self):
|
||||
"""
|
||||
Test that no error is raised when creating the bank setup wizard
|
||||
"""
|
||||
wizard = self.env['account.setup.bank.manual.config'].create([
|
||||
{
|
||||
'num_journals_without_account_bank': 1,
|
||||
'linked_journal_id': False,
|
||||
'acc_number': 'BE15001559627230',
|
||||
'bank_id': self.env['res.bank'].create({'name': 'Test bank'}).id,
|
||||
'bank_bic': False
|
||||
}
|
||||
])
|
||||
self.assertTrue(wizard)
|
||||
Loading…
Add table
Add a link
Reference in a new issue