diff options
| author | Laurent Smet <las@odoo.com> | 2020-07-14 06:57:38 +0000 |
|---|---|---|
| committer | Laurent Smet <las@odoo.com> | 2020-07-16 07:25:28 +0000 |
| commit | d421934ff851f86dc797b04028e7fb45d0193790 (patch) | |
| tree | ef95a3cbb10bacc6af8e7fb68c96241840ac3ef9 /addons | |
| parent | ce8eb6e93e5fec8a1d72ae1be283cce8ed470776 (diff) | |
[IMP] account: Remove test_settings dependency to AccountTestCommon
l10n runbot builds are all failing when running at least one test depending of AccountTestCommon because it:
- doesn't create a sandboxed testing environnement to manage the multi-currency, multi-company, the default company's currency, the exchange rates...
- doesn't setup a testing user then all tests are done using the superuser.
- doesn't provide a fully setup chart of accounts: exchange difference journal is not set, accounts have bad types, etc...
- is run sometimes at-install.
--task: 2296213
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/account/tests/test_settings.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/addons/account/tests/test_settings.py b/addons/account/tests/test_settings.py index 854ec90ea79..2aabe3345ce 100644 --- a/addons/account/tests/test_settings.py +++ b/addons/account/tests/test_settings.py @@ -1,9 +1,10 @@ -from odoo.addons.account.tests.common import AccountTestCommon +# -*- coding: utf-8 -*- +from odoo.addons.account.tests.common import AccountTestInvoicingCommon from odoo.tests import tagged @tagged('post_install', '-at_install') -class TestSettings(AccountTestCommon): +class TestSettings(AccountTestInvoicingCommon): def test_switch_taxB2B_taxB2C(self): """ |
