Skip to Content
Menu
This question has been flagged
1123 Views

I got error when try to install sample Chart Of Account 

Link to error image :  https://ibb.co/JQ0DhVM


Error:

Odoo Server Error



Traceback (most recent call last):

File "E:\odoo\odoo13-source\odoo\http.py", line 624, in _handle_exception

return super(JsonRequest, self)._handle_exception(exception)

File "E:\odoo\odoo13-source\odoo\http.py", line 310, in _handle_exception

raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])

File "E:\odoo\odoo13-source\odoo\tools\pycompat.py", line 14, in reraise

raise value

File "E:\odoo\odoo13-source\odoo\http.py", line 669, in dispatch

result = self._call_function(**self.params)

File "E:\odoo\odoo13-source\odoo\http.py", line 350, in _call_function

return checked_call(self.db, *args, **kwargs)

File "E:\odoo\odoo13-source\odoo\service\model.py", line 94, in wrapper

return f(dbname, *args, **kwargs)

File "E:\odoo\odoo13-source\odoo\http.py", line 339, in checked_call

result = self.endpoint(*a, **kw)

File "E:\odoo\odoo13-source\odoo\http.py", line 915, in __call__

return self.method(*args, **kw)

File "E:\odoo\odoo13-source\odoo\http.py", line 515, in response_wrap

response = f(*args, **kw)

File "e:\odoo\odoo13-e\web\controllers\main.py", line 1343, in call_button

action = self._call_kw(model, method, args, kwargs)

File "e:\odoo\odoo13-e\web\controllers\main.py", line 1331, in _call_kw

return call_kw(request.env[model], method, args, kwargs)

File "E:\odoo\odoo13-source\odoo\api.py", line 390, in call_kw

result = _call_kw_multi(method, model, args, kwargs)

File "E:\odoo\odoo13-source\odoo\api.py", line 377, in _call_kw_multi

result = method(recs, *args, **kwargs)

File "E:\odoo\odoo13-source\odoo\addons\base\models\res_config.py", line 611, in execute

self.set_values()

File "e:\odoo\odoo13-e\sale\models\res_config_settings.py", line 68, in set_values

super(ResConfigSettings, self).set_values()

File "e:\odoo\odoo13-e\account_reports\models\res_config_settings.py", line 20, in set_values

super(ResConfigSettings, self).set_values()

File "e:\odoo\odoo13-e\purchase\models\res_config_settings.py", line 39, in set_values

super(ResConfigSettings, self).set_values()

File "e:\odoo\odoo13-e\account\models\res_config_settings.py", line 96, in set_values

self.chart_template_id._load(15.0, 15.0, self.env.company)

File "e:\odoo\odoo13-e\account_followup\models\chart_template.py", line 10, in _load

res = super(AccountChartTemplate, self)._load(sale_tax_rate, purchase_tax_rate, company)

File "e:\odoo\odoo13-e\account_reports\models\chart_template.py", line 9, in _load

res = super(AccountChartTemplate, self)._load(sale_tax_rate, purchase_tax_rate, company)

File "e:\odoo\odoo13-e\account\models\chart_template.py", line 226, in _load

acc_template_ref, taxes_ref = self._install_template(company, code_digits=self.code_digits)

File "e:\odoo\odoo13-e\account\models\chart_template.py", line 500, in _install_template

tmp1, tmp2 = self.with_context(lang=company.partner_id.lang)._load_template(company, code_digits=code_digits, account_ref=acc_ref, taxes_ref=taxes_ref)

File "e:\odoo\odoo13-e\account\models\chart_template.py", line 528, in _load_template

generated_tax_res = self.with_context(active_test=False).tax_template_ids._generate_tax(company)

File "e:\odoo\odoo13-e\account\models\chart_template.py", line 926, in _generate_tax

taxes = ChartTemplate._create_records_with_xmlid('account.tax', tax_template_vals, company)

File "e:\odoo\odoo13-e\account\models\chart_template.py", line 599, in _create_records_with_xmlid

module, name = template_xmlids[template.id].split('.', 1)

ValueError: not enough values to unpack (expected 2, got 1)



Avatar
Discard
Related Posts Replies Views Activity
0
Oct 24
661
4
May 24
10064
1
Apr 24
1561
0
Nov 23
523
1
Sep 23
561