Skip to Content
Menu
This question has been flagged
3 Replies
12283 Views

While converting ODOO v12 to v13  i get this error how i can solve it please help me.



Odoo Server Error
Traceback (most recent call last):
  File "/odoo13/odoo-server/odoo/http.py", line 619, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/odoo13/odoo-server/odoo/http.py", line 309, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  File "/odoo13/odoo-server/odoo/tools/pycompat.py", line 14, in reraise
    raise value
  File "/odoo13/odoo-server/odoo/http.py", line 664, in dispatch
    result = self._call_function(**self.params)
  File "/odoo13/odoo-server/odoo/http.py", line 345, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/odoo13/odoo-server/odoo/service/model.py", line 93, in wrapper
    return f(dbname, *args, **kwargs)
  File "/odoo13/odoo-server/odoo/http.py", line 338, in checked_call
    result = self.endpoint(*a, **kw)
  File "/odoo13/odoo-server/odoo/http.py", line 909, in __call__
    return self.method(*args, **kw)
  File "/odoo13/odoo-server/odoo/http.py", line 510, in response_wrap
    response = f(*args, **kw)
  File "/odoo13/odoo-server/addons/web/controllers/main.py", line 1323, in call_button
    action = self._call_kw(model, method, args, kwargs)
  File "/odoo13/odoo-server/addons/web/controllers/main.py", line 1311, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/odoo13/odoo-server/odoo/api.py", line 395, in call_kw
    result = _call_kw_multi(method, model, args, kwargs)
  File "/odoo13/odoo-server/odoo/api.py", line 382, in _call_kw_multi
    result = method(recs, *args, **kwargs)
  File "<decorator-gen-58>", line 2, in button_immediate_install
  File "/odoo13/odoo-server/odoo/addons/base/models/ir_module.py", line 72, in check_and_log
    return method(self, *args, **kwargs)
  File "/odoo13/odoo-server/odoo/addons/base/models/ir_module.py", line 463, in button_immediate_install
    return self._button_immediate_function(type(self).button_install)
  File "/odoo13/odoo-server/odoo/addons/base/models/ir_module.py", line 573, in _button_immediate_function
    modules.registry.Registry.new(self._cr.dbname, update_module=True)
  File "/odoo13/odoo-server/odoo/modules/registry.py", line 85, in new
    odoo.modules.load_modules(registry._db, force_demo, status, update_module)
  File "/odoo13/odoo-server/odoo/modules/loading.py", line 420, in load_modules
    loaded_modules, update_module, models_to_check)
  File "/odoo13/odoo-server/odoo/modules/loading.py", line 312, in load_marked_modules
    perform_checks=perform_checks, models_to_check=models_to_check
  File "/odoo13/odoo-server/odoo/modules/loading.py", line 188, in load_module_graph
    model_names = registry.load(cr, package)
  File "/odoo13/odoo-server/odoo/modules/registry.py", line 220, in load
    model = cls._build_model(self, cr)
  File "/odoo13/odoo-server/odoo/models.py", line 521, in _build_model
    raise TypeError("Model %r does not exist in registry." % name)
TypeError: Model 'account.invoice' does not exist in regis
Avatar
Discard
Best Answer

In Odoo 13 model 'account.invoice' is removed. All Invoicing feature move to 'account.move' table which was journal entry.


Avatar
Discard
Best Answer

Hi,

You can get more information from this PR: https://github.com/odoo/odoo/pull/33797

Avatar
Discard

Thanks for posting ...

Best Answer

Please anyone can help me to migrate odoo 12 to v14 !

Avatar
Discard
Related Posts Replies Views Activity
1
Jan 21
28898
3
Feb 23
21586
0
Feb 20
2773
1
Dec 19
5449
3
Nov 19
3935