Skip to Content
Menu
This question has been flagged
2 Replies
2205 Views

Fresh Odoo 11 Installation with the awesome install script by Yenthe! (Thanks a million times)


If you select Germany as country, SKR03 and SKR04 are being installed. However if I want to change from SKR03 to SKR04 it throws an error and I cannot change it. We need this for accounting.


Please help.


Traceback (most recent call last):
  File "/odoo/odoo-server/odoo/http.py", line 646, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/odoo/odoo-server/odoo/http.py", line 307, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  File "/odoo/odoo-server/odoo/tools/pycompat.py", line 87, in reraise
    raise value
  File "/odoo/odoo-server/odoo/http.py", line 683, in dispatch
    result = self._call_function(**self.params)
  File "/odoo/odoo-server/odoo/http.py", line 339, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/odoo/odoo-server/odoo/service/model.py", line 97, in wrapper
    return f(dbname, *args, **kwargs)
  File "/odoo/odoo-server/odoo/http.py", line 332, in checked_call
    result = self.endpoint(*a, **kw)
  File "/odoo/odoo-server/odoo/http.py", line 927, in __call__
    return self.method(*args, **kw)
  File "/odoo/odoo-server/odoo/http.py", line 512, in response_wrap
    response = f(*args, **kw)
  File "/odoo/odoo-server/addons/web/controllers/main.py", line 924, in call_button
    action = self._call_kw(model, method, args, {})
  File "/odoo/odoo-server/addons/web/controllers/main.py", line 912, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/odoo/odoo-server/odoo/api.py", line 689, in call_kw
    return call_kw_multi(method, model, args, kwargs)
  File "/odoo/odoo-server/odoo/api.py", line 680, in call_kw_multi
    result = method(recs, *args, **kwargs)
  File "/odoo/odoo-server/odoo/addons/base/res/res_config.py", line 544, in execute
    self.set_values()
  File "/odoo/odoo-server/addons/crm/models/res_config_settings.py", line 50, in set_values
    super(ResConfigSettings, self).set_values()
  File "/odoo/odoo-server/addons/sale/models/res_config_settings.py", line 155, in set_values
    super(ResConfigSettings, self).set_values()
  File "/odoo/odoo-server/addons/account/models/res_config_settings.py", line 100, in set_values
    wizard.execute()
  File "/odoo/odoo-server/addons/account/models/chart_template.py", line 910, in execute
    IrDefault.sudo().set('product.template', "taxes_id", [taxes_ref[self.sale_tax_id.id]], company_id=company.id)
KeyError: 19





Avatar
Discard
Author Best Answer

I already opened a ticket on github. They saw it, confirmed the bug and work on it.

https://github.com/odoo/odoo/issues/20379

Avatar
Discard
Best Answer

Same issue on a fresh Odoo 11 installation when switching from one account plan to another one

Avatar
Discard