summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorLaurent Smet <las@odoo.com>2020-07-13 13:18:48 +0000
committerLaurent Smet <las@odoo.com>2020-07-13 14:38:04 +0000
commit099291d117bdb8352dcf96f7a89d978376b44358 (patch)
tree5cc40489353a4890d8b60a2e5902bb26c110ae2f /addons
parente482adc1792eb2d740cdacb2e24bfef3e5ca1a9f (diff)
[FIX] l10n_ch: Fix bad fw-port of 10c14c63094870346143a42f5df39e1db3f0dc5c
closes odoo/odoo#54406 X-original-commit: 4279335fa5378efaea71cec634361e94d670fd82 Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Diffstat (limited to 'addons')
-rw-r--r--addons/l10n_ch/tests/test_swissqr.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/addons/l10n_ch/tests/test_swissqr.py b/addons/l10n_ch/tests/test_swissqr.py
index 5df778a950c..1cc0092a7cd 100644
--- a/addons/l10n_ch/tests/test_swissqr.py
+++ b/addons/l10n_ch/tests/test_swissqr.py
@@ -2,8 +2,7 @@
# Part of Odoo. See LICENSE file for full copyright and licensing details.
import time
-from odoo.addons.account.tests.account_test_classes import AccountingTestCase
-from odoo.exceptions import ValidationError
+from odoo.addons.account.tests.common import AccountTestInvoicingCommon
from odoo.tests import tagged
CH_IBAN = 'CH15 3881 5158 3845 3843 7'
@@ -11,7 +10,7 @@ QR_IBAN = 'CH21 3080 8001 2345 6782 7'
@tagged('post_install', '-at_install')
-class TestSwissQR(AccountingTestCase):
+class TestSwissQR(AccountTestInvoicingCommon):
def setUp(self):
super(TestSwissQR, self).setUp()