File tree Expand file tree Collapse file tree
fieldservice_account_payment/tests Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
65from odoo .tests import tagged
76
87from 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
You can’t perform that action at this time.
0 commit comments