From d421934ff851f86dc797b04028e7fb45d0193790 Mon Sep 17 00:00:00 2001 From: Laurent Smet Date: Tue, 14 Jul 2020 06:57:38 +0000 Subject: [PATCH] [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 --- addons/account/tests/test_settings.py | 5 +++-- 1 file 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): """