Skip to Content
Menu
This question has been flagged
1 Reply
1614 Views
Traceback (most recent call last):
  File "E:\odoo15\server\odoo\tools\cache.py", line 85, in lookup
    r = d[key]
  File "E:\odoo15\server\odoo\tools\func.py", line 71, in wrapper
    return func(self, *args, **kwargs)
  File "E:\odoo15\server\odoo\tools\lru.py", line 34, in __getitem__
    a = self.d[obj]
KeyError: ('ir.model.data', , 'account.tax_group_taxes')

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "E:\odoo15\server\odoo\addons\base\models\ir_http.py", line 237, in _dispatch
    result = request.dispatch()
  File "E:\odoo15\server\odoo\http.py", line 688, in dispatch
    result = self._call_function(**self.params)
  File "E:\odoo15\server\odoo\http.py", line 360, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "E:\odoo15\server\odoo\service\model.py", line 94, in wrapper
    return f(dbname, *args, **kwargs)
  File "E:\odoo15\server\odoo\http.py", line 349, in checked_call
    result = self.endpoint(*a, **kw)
  File "E:\odoo15\server\odoo\http.py", line 917, in __call__
    return self.method(*args, **kw)
  File "E:\odoo15\server\odoo\http.py", line 536, in response_wrap
    response = f(*args, **kw)
  File "E:\odoo15\server\odoo\addons\web\controllers\main.py", line 1339, in call_button
    action = self._call_kw(model, method, args, kwargs)
  File "E:\odoo15\server\odoo\addons\web\controllers\main.py", line 1327, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "E:\odoo15\server\odoo\api.py", line 464, in call_kw
    result = _call_kw_multi(method, model, args, kwargs)
  File "E:\odoo15\server\odoo\api.py", line 451, in _call_kw_multi
    result = method(recs, *args, **kwargs)
  File "", line 2, in button_immediate_install
  File "E:\odoo15\server\odoo\addons\base\models\ir_module.py", line 74, in check_and_log
    return method(self, *args, **kwargs)
  File "E:\odoo15\server\odoo\addons\base\models\ir_module.py", line 483, in button_immediate_install
    return self._button_immediate_function(type(self).button_install)
  File "E:\odoo15\server\odoo\addons\base\models\ir_module.py", line 600, in _button_immediate_function
    registry = modules.registry.Registry.new(self._cr.dbname, update_module=True)
  File "E:\odoo15\server\odoo\modules\registry.py", line 87, in new
    odoo.modules.load_modules(registry, force_demo, status, update_module)
  File "E:\odoo15\server\odoo\modules\loading.py", line 476, in load_modules
    loaded_modules, update_module, models_to_check)
  File "E:\odoo15\server\odoo\modules\loading.py", line 365, in load_marked_modules
    perform_checks=perform_checks, models_to_check=models_to_check
  File "E:\odoo15\server\odoo\modules\loading.py", line 199, in load_module_graph
    registry.init_models(cr, model_names, {'module': package.name}, new_install)
  File "E:\odoo15\server\odoo\modules\registry.py", line 427, in init_models
    model._auto_init()
  File "E:\odoo15\server\odoo\models.py", line 2835, in _auto_init
    new = field.update_db(self, columns)
  File "E:\odoo15\server\odoo\fields.py", line 2735, in update_db
    return super(Many2one, self).update_db(model, columns)
  File "E:\odoo15\server\odoo\fields.py", line 896, in update_db
    self.update_db_notnull(model, column)
  File "E:\odoo15\server\odoo\fields.py", line 952, in update_db_notnull
    model._init_column(self.name)
  File "E:\odoo15\server\odoo\models.py", line 2755, in _init_column
    value = field.default(self)
  File "E:\odoo15\server\odoo\addons\account\models\account_tax.py", line 69, in _default_tax_group
    return self.env.ref('account.tax_group_taxes')
  File "E:\odoo15\server\odoo\api.py", line 579, in ref
    xml_id, raise_if_not_found=raise_if_not_found
  File "E:\odoo15\server\odoo\addons\base\models\ir_model.py", line 1935, in _xmlid_to_res_model_res_id
    return self._xmlid_lookup(xmlid)[1:3]
  File "", line 2, in _xmlid_lookup
  File "E:\odoo15\server\odoo\tools\cache.py", line 90, in lookup
    value = d[key] = self.method(*args, **kwargs)
  File "E:\odoo15\server\odoo\addons\base\models\ir_model.py", line 1928, in _xmlid_lookup
    raise ValueError('External ID not found in the system: %s' % xmlid)
Exception

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "E:\odoo15\server\odoo\http.py", line 644, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "E:\odoo15\server\odoo\http.py", line 302, in _handle_exception
    raise exception.with_traceback(None) from new_cause
ValueError: External ID not found in the system: account.tax_group_taxes


Avatar
Discard
Best Answer

Hi,

Try upgrading the account(Invoicing) module from the terminal or from ui and see.

To upgrade from terminal: https://www.youtube.com/watch?v=ErzOia_A21w

Thanks

Avatar
Discard