hello,
the same here too.
the instance is up-to-date and almost new - only small changes in the settings have been made. the following modules are affected and can no longer be installed: stock, stock_account, point_of_sale
error message:
Traceback (most recent call last):
File "/[..]/odoo/odoo/addons/base/models/ir_http.py", line 237, in _dispatch
result = request.dispatch()
File "/[..]/odoo/odoo/http.py", line 683, in dispatch
result = self._call_function(**self.params)
File "/[..]/odoo/odoo/http.py", line 359, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/[..]/odoo/odoo/service/model.py", line 94, in wrapper
return f(dbname, *args, **kwargs)
File "/[..]/odoo/odoo/http.py", line 347, in checked_call
result = self.endpoint(*a, **kw)
File "/[..]/odoo/odoo/http.py", line 912, in __call__
return self.method(*args, **kw)
File "/[..]/odoo/odoo/http.py", line 531, in response_wrap
response = f(*args, **kw)
File "/[..]/odoo/addons/web/controllers/main.py", line 1381, in call_button
action = self._call_kw(model, method, args, kwargs)
File "/[..]/odoo/addons/web/controllers/main.py", line 1369, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/[..]/odoo/odoo/api.py", line 396, in call_kw
result = _call_kw_multi(method, model, args, kwargs)
File "/[..]/odoo/odoo/api.py", line 383, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "<decorator-gen-71>", line 2, in button_immediate_install
File "/[..]/odoo/odoo/addons/base/models/ir_module.py", line 73, in check_and_log
return method(self, *args, **kwargs)
File "/[..]/odoo/odoo/addons/base/models/ir_module.py", line 474, in button_immediate_install
return self._button_immediate_function(type(self).button_install)
File "/[..]/odoo/odoo/addons/base/models/ir_module.py", line 592, in _button_immediate_function
modules.registry.Registry.new(self._cr.dbname, update_module=True)
File "/[..]/odoo/odoo/modules/registry.py", line 89, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "/[..]/odoo/odoo/modules/loading.py", line 455, in load_modules
loaded_modules, update_module, models_to_check)
File "/[..]/odoo/odoo/modules/loading.py", line 348, in load_marked_modules
perform_checks=perform_checks, models_to_check=models_to_check
File "/[..]/odoo/odoo/modules/loading.py", line 198, in load_module_graph
registry.init_models(cr, model_names, {'module': package.name}, new_install)
File "/[..]/odoo/odoo/modules/registry.py", line 416, in init_models
env['base'].flush()
File "/[..]/odoo/odoo/models.py", line 5434, in flush
self.recompute()
File "/[..]/odoo/odoo/models.py", line 5893, in recompute
process(field)
File "/[..]/odoo/odoo/models.py", line 5877, in process
field.recompute(recs)
File "/[..]/odoo/odoo/fields.py", line 1120, in recompute
self.compute_value(recs)
File "/[..]/odoo/odoo/fields.py", line 1142, in compute_value
records._compute_field_value(self)
File "/[..]/odoo/addons/mail/models/mail_thread.py", line 410, in _compute_field_value
self._prepare_tracking(f.name for f in self.pool.field_computed[field] if f.store)
File "/[..]/odoo/addons/mail/models/mail_thread.py", line 518, in _prepare_tracking
fnames = self._get_tracked_fields().intersection(fields)
File "<decorator-gen-132>", line 2, in _get_tracked_fields
File "/[..]/odoo/odoo/tools/cache.py", line 90, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/[..]/odoo/addons/mail/models/mail_thread.py", line 569, in _get_tracked_fields
return fields and set(self.fields_get(fields))
File "/[..]/odoo/odoo/models.py", line 2891, in fields_get
description = field.get_description(self.env)
File "/[..]/odoo/odoo/fields.py", line 665, in get_description
value = value(env)
File "/[..]/odoo/odoo/fields.py", line 2498, in _description_domain
return self.domain(env[self.model_name]) if callable(self.domain) else self.domain
File "/[..]/odoo/addons/stock/models/stock_picking.py", line 337, in <lambda>
domain=lambda self: [('groups_id', 'in', self.env.ref('stock.group_stock_user').id)],
File "/[..]/odoo/odoo/api.py", line 511, in ref
return self['ir.model.data'].xmlid_to_object(xml_id, raise_if_not_found=raise_if_not_found)
File "/[..]/odoo/odoo/addons/base/models/ir_model.py", line 1901, in xmlid_to_object
t = self.xmlid_to_res_model_res_id(xmlid, raise_if_not_found)
File "/[..]/odoo/odoo/addons/base/models/ir_model.py", line 1885, in xmlid_to_res_model_res_id
return self.xmlid_lookup(xmlid)[1:3]
File "<decorator-gen-35>", line 2, in xmlid_lookup
File "/[..]/odoo/odoo/tools/cache.py", line 90, in lookup
value = d[key] = self.method(*args, **kwargs)
File "/[..]/odoo/odoo/addons/base/models/ir_model.py", line 1878, 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 "/[..]/odoo/odoo/http.py", line 639, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/[..]/odoo/odoo/http.py", line 315, in _handle_exception
raise exception.with_traceback(None) from new_cause
ValueError: External ID not found in the system: stock.group_stock_user
on an other new second db-instance the installation worked - apart from that; i am new to odoo, what actions could i take to find out the cause of the error?
best loon