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_check_printing/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_check_printing/tests')
| -rw-r--r-- | addons/account_check_printing/tests/test_print_check.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/account_check_printing/tests/test_print_check.py b/addons/account_check_printing/tests/test_print_check.py index d693bdc3bb4..30d88d054b2 100644 --- a/addons/account_check_printing/tests/test_print_check.py +++ b/addons/account_check_printing/tests/test_print_check.py @@ -10,8 +10,8 @@ import math class TestPrintCheck(AccountTestInvoicingCommon): @classmethod - def setUpClass(cls): - super().setUpClass() + def setUpClass(cls, chart_template_ref=None): + super().setUpClass(chart_template_ref=chart_template_ref) cls.payment_method_check = cls.env.ref("account_check_printing.account_payment_method_check") |
