Post by admin@anviz.com »

My system is ubuntu20.04
The version of odoo is V13 Community Edition
[code]
Error:
Odoo Server Error

Traceback (most recent call last):
File "/opt/odoo/odoo13/odoo-server/odoo/http.py", line 624, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/odoo13/odoo-server/odoo/http.py", line 310, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/opt/odoo/odoo13/odoo-server/odoo/tools/pycompat.py", line 14, in reraise
raise value
File "/opt/odoo/odoo13/odoo-server/odoo/http.py", line 669, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/odoo13/odoo-server/odoo/http.py", line 350, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/odoo13/odoo-server/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/odoo13/odoo-server/odoo/http.py", line 339, in checked_call
result = self.endpoint(*a, **kw)
File "/opt/odoo/odoo13/odoo-server/odoo/http.py", line 915, in __call__
return self.method(*args, **kw)
File "/opt/odoo/odoo13/odoo-server/odoo/http.py", line 515, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/odoo13/odoo-server/addons/web/controllers/main.py", line 1343, in call_button
action = self._call_kw(model, method, args, kwargs)
File "/opt/odoo/odoo13/odoo-server/addons/web/controllers/main.py", line 1331, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/odoo/odoo13/odoo-server/odoo/api.py", line 387, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/opt/odoo/odoo13/odoo-server/odoo/api.py", line 374, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "<decorator-gen-60>", line 2, in button_immediate_install
File "/opt/odoo/odoo13/odoo-server/odoo/addons/base/models/ir_module.py", line 72, in check_and_log
return method(self, *args, **kwargs)
File "/opt/odoo/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 "/opt/odoo/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 "/opt/odoo/odoo13/odoo-server/odoo/modules/registry.py", line 86, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "/opt/odoo/odoo13/odoo-server/odoo/modules/loading.py", line 421, in load_modules
processed_modules += load_marked_modules(cr, graph,
File "/opt/odoo/odoo13/odoo-server/odoo/modules/loading.py", line 313, in load_marked_modules
loaded, processed = load_module_graph(
File "/opt/odoo/odoo13/odoo-server/odoo/modules/loading.py", line 202, in load_module_graph
registry.init_models(cr, model_names, {'module': package.name}, new_install)
File "/opt/odoo/odoo13/odoo-server/odoo/modules/registry.py", line 374, in init_models
func()
File "/opt/odoo/odoo13/odoo-server/odoo/models.py", line 380, in _reflect
self.env['ir.model.fields']._reflect_model(self)
File "/opt/odoo/odoo13/odoo-server/odoo/addons/base/models/ir_model.py", line 904, in _reflect_model
ids = query_update(cr, self._table, new_vals, ['model', 'name'])
File "/opt/odoo/odoo13/odoo-server/odoo/addons/base/models/ir_model.py", line 68, in query_update
cr.execute(query, values)
File "/opt/odoo/odoo13/odoo-server/odoo/sql_db.py", line 173, in wrapper
return f(self, *args, **kwargs)
File "/opt/odoo/odoo13/odoo-server/odoo/sql_db.py", line 250, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: can't adapt type 'dict'
[/code]


Post by Terence »

Hi! We already discovered this bug and was solved this week. But we had some problems refreshing the module in the Odoo store. You probably downloaded the corrupt version 1.2.3.

Could you please download the module again from odoo.com/apps. In version 1.2.4 the problem is resolved. You can see the version in the manifest or changelog in the description tab.

Thank you for the report and excuses for the inconvenience.


Post by admin@anviz.com »

Thank you for your help. The module has been installed and it can’t be seen in the APPS of the system. Is there any tutorial?


Post by admin@anviz.com »

The user reports the following error when opening gantt

Error:


Traceback:
TypeError: Cannot set properties of undefined (setting 'projectID')
    at Class.start (https://192.168.80.73:8889/web/content/14201-df3786e/web.assets_backend.js:9316:1146)
    at Class.prototype.<computed> [as start] (https://192.168.80.73:8889/web/content/14181-8dd4490/web.assets_common.js:3861:488)
    at https://192.168.80.73:8889/web/content/14181-8dd4490/web.assets_common.js:4104:52
    at async Promise.all (index 1)

Post by Terence »

It is part of the project module. Click the project module and see the Get Started section in the description page

https://apps.odoo.com/apps/modules/14.0/bryntum_gantt_enterprise/

view_chart_icon.png
view_chart_icon.png (125.24 KiB) Viewed 1708 times

Click the icon in the left when you have selected a project. It is very straightforward


Post by Terence »

Odoo will compile module assets in a js bundle on installation. Seems the installation went wrong. Can you push upgrade module after reinstalling it?

  • copy the new downloaded module into you addons path (remove the old one)
  • upgrade the module.
  • optional restart the odoo server

Post by admin@anviz.com »

OK


Post Reply