Skip to content

Commit 64b746f

Browse files
committed
working
1 parent e75c193 commit 64b746f

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

fieldservice_account_payment/tests/test_fsm_account_payment.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# Copyright (C) 2019 Open Source Integrators
22
# Copyright (C) 2019 Serpent consulting Services
33
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html)
4-
from odoo import Command, _, fields
5-
from odoo.exceptions import ValidationError
4+
from odoo import Command, fields
65
from odoo.tests import tagged
76

87
from odoo.addons.base.tests.common import BaseCommon
@@ -14,11 +13,6 @@ class FSMAccountPaymentCase(BaseCommon):
1413
def setUpClass(cls):
1514
super().setUpClass()
1615
cls.company = cls.env.company
17-
chart = cls.env["account.chart.template"]._guess_chart_template(
18-
cls.company.country_id
19-
)
20-
if not chart:
21-
raise ValidationError(_("No Chart of Account Template has been defined !"))
2216

2317
cls.env["account.chart.template"].try_loading(
2418
"generic_coa", company=cls.company, install_demo=False

0 commit comments

Comments
 (0)