diff options
| author | Laurent Smet <las@odoo.com> | 2020-05-28 14:25:23 +0000 |
|---|---|---|
| committer | Laurent Smet <las@odoo.com> | 2020-06-04 06:28:07 +0000 |
| commit | 564a1b94a760b0432f22e7d25953a54ca868b67c (patch) | |
| tree | 6972a63c457fcfa743dcdf2d047bd8dc364168ab /addons/account_qr_code_sepa/tests | |
| parent | b7840dde39d0f004c8a4f9d8f0f058d756650554 (diff) | |
[IMP] account,l10n_fi: Allow custom COA in accounting test suite
- A custom COA could be passed as parameter.
- Merge the invoice setup to the generic suite like it is in master.
forwart-port of https://github.com/odoo/odoo/commit/161498cf8a75d62f9a8e1a17c6dc62a142b85acc
closes odoo/odoo#52378
X-original-commit: c0acebe2c55f7030df3bd10ad8058da6a070aa72
Related: odoo/enterprise#10921
Signed-off-by: Josse Colpaert <jco@openerp.com>
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Diffstat (limited to 'addons/account_qr_code_sepa/tests')
| -rw-r--r-- | addons/account_qr_code_sepa/tests/test_sepa_qr.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/addons/account_qr_code_sepa/tests/test_sepa_qr.py b/addons/account_qr_code_sepa/tests/test_sepa_qr.py index d2172dc95cf..cf8d4280a02 100644 --- a/addons/account_qr_code_sepa/tests/test_sepa_qr.py +++ b/addons/account_qr_code_sepa/tests/test_sepa_qr.py @@ -3,13 +3,14 @@ from odoo.exceptions import UserError from odoo.addons.account.tests.common import AccountTestInvoicingCommon + class TestSEPAQRCode(AccountTestInvoicingCommon): """ Tests the generation of Swiss QR-codes on invoices """ @classmethod - def setUpClass(cls): - super(TestSEPAQRCode, cls).setUpClass() + def setUpClass(cls, chart_template_ref=None): + super().setUpClass(chart_template_ref=chart_template_ref) cls.company_data['company'].qr_code = True cls.acc_sepa_iban = cls.env['res.partner.bank'].create({ |
