Hi there!
I'm trying to install the Proyect management app on Odoo V13 but I get the following traceback. I'm a complete novice in Odoo so I don't understand what is wrong. What should I do? Thanks!
Odoo Server Error
Traceback (most recent call last): File "/home/odoo/src/odoo/odoo/tools/cache.py", line 85, in lookup r = d[key] File "/home/odoo/src/odoo/odoo/tools/func.py", line 69, in wrapper return func(self, *args, **kwargs) File "/home/odoo/src/odoo/odoo/tools/lru.py", line 44, in __getitem__ a = self.d[obj].me KeyError: ('ir.model.data', <function IrModelData.xmlid_lookup at 0x7f3b4099f048>, 'base.user_admin') During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/odoo/src/odoo/odoo/tools/safe_eval.py", line 354, in safe_eval return unsafe_eval(c, globals_dict, locals_dict) File "", line 1, in <module> File "/home/odoo/src/odoo/odoo/tools/convert.py", line 657, in id_get res = self.model_id_get(id_str, raise_if_not_found) File "/home/odoo/src/odoo/odoo/tools/convert.py", line 663, in model_id_get return self.env['ir.model.data'].xmlid_to_res_model_res_id(id_str, raise_if_not_found=raise_if_not_found) File "/home/odoo/src/odoo/odoo/addons/base/models/ir_model.py", line 1685, in xmlid_to_res_model_res_id return self.xmlid_lookup(xmlid)[1:3] File "<decorator-gen-25>", line 2, in xmlid_lookup File "/home/odoo/src/odoo/odoo/tools/cache.py", line 90, in lookup value = d[key] = self.method(*args, **kwargs) File "/home/odoo/src/odoo/odoo/addons/base/models/ir_model.py", line 1674, in xmlid_lookup raise ValueError('External ID not found in the system: %s' % xmlid) ValueError: External ID not found in the system: base.user_admin During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/odoo/src/odoo/odoo/tools/convert.py", line 712, in parse self._tag_root(de) File "/home/odoo/src/odoo/odoo/tools/convert.py", line 674, in _tag_root f(rec) File "/home/odoo/src/odoo/odoo/tools/convert.py", line 563, in _tag_record f_val = _eval_xml(self, field, env) File "/home/odoo/src/odoo/odoo/tools/convert.py", line 117, in _eval_xml return safe_eval(a_eval, idref2) File "/home/odoo/src/odoo/odoo/tools/convert.py", line 32, in <lambda> safe_eval = lambda expr, ctx={}: s_eval(expr, ctx, nocopy=True) File "/home/odoo/src/odoo/odoo/tools/safe_eval.py", line 377, in safe_eval pycompat.reraise(ValueError, ValueError('%s: "%s" while evaluating\n%r' % (ustr(type(e)), ustr(e), expr)), exc_info[2]) File "/home/odoo/src/odoo/odoo/tools/pycompat.py", line 13, in reraise raise value.with_traceback(tb) File "/home/odoo/src/odoo/odoo/tools/safe_eval.py", line 354, in safe_eval return unsafe_eval(c, globals_dict, locals_dict) File "", line 1, in <module> File "/home/odoo/src/odoo/odoo/tools/convert.py", line 657, in id_get res = self.model_id_get(id_str, raise_if_not_found) File "/home/odoo/src/odoo/odoo/tools/convert.py", line 663, in model_id_get return self.env['ir.model.data'].xmlid_to_res_model_res_id(id_str, raise_if_not_found=raise_if_not_found) File "/home/odoo/src/odoo/odoo/addons/base/models/ir_model.py", line 1685, in xmlid_to_res_model_res_id return self.xmlid_lookup(xmlid)[1:3] File "<decorator-gen-25>", line 2, in xmlid_lookup File "/home/odoo/src/odoo/odoo/tools/cache.py", line 90, in lookup value = d[key] = self.method(*args, **kwargs) File "/home/odoo/src/odoo/odoo/addons/base/models/ir_model.py", line 1674, in xmlid_lookup raise ValueError('External ID not found in the system: %s' % xmlid) ValueError: <class 'ValueError'>: "External ID not found in the system: base.user_admin" while evaluating "[(4, ref('base.user_root')), (4, ref('base.user_admin'))]" During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/odoo/src/odoo/odoo/http.py", line 624, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/home/odoo/src/odoo/odoo/http.py", line 310, in _handle_exception raise pycompat.reraise(type(exception), exception, sys.exc_info()[2]) File "/home/odoo/src/odoo/odoo/tools/pycompat.py", line 14, in reraise raise value File "/home/odoo/src/odoo/odoo/http.py", line 669, in dispatch result = self._call_function(**self.params) File "/home/odoo/src/odoo/odoo/http.py", line 350, in _call_function return checked_call(self.db, *args, **kwargs) File "/home/odoo/src/odoo/odoo/service/model.py", line 94, in wrapper return f(dbname, *args, **kwargs) File "/home/odoo/src/odoo/odoo/http.py", line 339, in checked_call result = self.endpoint(*a, **kw) File "/home/odoo/src/odoo/odoo/http.py", line 915, in __call__ return self.method(*args, **kw) File "/home/odoo/src/odoo/odoo/http.py", line 515, in response_wrap response = f(*args, **kw) File "/home/odoo/src/odoo/addons/web/controllers/main.py", line 1331, in call_button action = self._call_kw(model, method, args, kwargs) File "/home/odoo/src/odoo/addons/web/controllers/main.py", line 1319, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/home/odoo/src/odoo/odoo/api.py", line 387, in call_kw result = _call_kw_multi(method, model, args, kwargs) File "/home/odoo/src/odoo/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 "/home/odoo/src/odoo/odoo/addons/base/models/ir_module.py", line 72, in check_and_log return method(self, *args, **kwargs) File "/home/odoo/src/odoo/odoo/addons/base/models/ir_module.py", line 463, in button_immediate_install return self._button_immediate_function(type(self).button_install) File "/home/odoo/src/odoo/odoo/addons/base/models/ir_module.py", line 573, in _button_immediate_function modules.registry.Registry.new(self._cr.dbname, update_module=True) File "/home/odoo/src/odoo/odoo/modules/registry.py", line 86, in new odoo.modules.load_modules(registry._db, force_demo, status, update_module) File "/home/odoo/src/odoo/odoo/modules/loading.py", line 423, in load_modules loaded_modules, update_module, models_to_check) File "/home/odoo/src/odoo/odoo/modules/loading.py", line 315, in load_marked_modules perform_checks=perform_checks, models_to_check=models_to_check File "/home/odoo/src/odoo/odoo/modules/loading.py", line 225, in load_module_graph load_data(cr, idref, mode, kind='data', package=package, report=report) File "/home/odoo/src/odoo/odoo/modules/loading.py", line 68, in load_data tools.convert_file(cr, package.name, filename, idref, mode, noupdate, kind, report) File "/home/odoo/src/odoo/odoo/tools/convert.py", line 736, in convert_file convert_xml_import(cr, module, fp, idref, mode, noupdate, report) File "/home/odoo/src/odoo/odoo/tools/convert.py", line 803, in convert_xml_import obj.parse(doc.getroot()) File "/home/odoo/src/odoo/odoo/tools/convert.py", line 721, in parse exc_info[2] File "/home/odoo/src/odoo/odoo/tools/pycompat.py", line 13, in reraise raise value.with_traceback(tb) File "/home/odoo/src/odoo/odoo/tools/convert.py", line 712, in parse self._tag_root(de) File "/home/odoo/src/odoo/odoo/tools/convert.py", line 674, in _tag_root f(rec) File "/home/odoo/src/odoo/odoo/tools/convert.py", line 563, in _tag_record f_val = _eval_xml(self, field, env) File "/home/odoo/src/odoo/odoo/tools/convert.py", line 117, in _eval_xml return safe_eval(a_eval, idref2) File "/home/odoo/src/odoo/odoo/tools/convert.py", line 32, in <lambda> safe_eval = lambda expr, ctx={}: s_eval(expr, ctx, nocopy=True) File "/home/odoo/src/odoo/odoo/tools/safe_eval.py", line 377, in safe_eval pycompat.reraise(ValueError, ValueError('%s: "%s" while evaluating\n%r' % (ustr(type(e)), ustr(e), expr)), exc_info[2]) File "/home/odoo/src/odoo/odoo/tools/pycompat.py", line 13, in reraise raise value.with_traceback(tb) File "/home/odoo/src/odoo/odoo/tools/safe_eval.py", line 354, in safe_eval return unsafe_eval(c, globals_dict, locals_dict) File "", line 1, in <module> File "/home/odoo/src/odoo/odoo/tools/convert.py", line 657, in id_get res = self.model_id_get(id_str, raise_if_not_found) File "/home/odoo/src/odoo/odoo/tools/convert.py", line 663, in model_id_get return self.env['ir.model.data'].xmlid_to_res_model_res_id(id_str, raise_if_not_found=raise_if_not_found) File "/home/odoo/src/odoo/odoo/addons/base/models/ir_model.py", line 1685, in xmlid_to_res_model_res_id return self.xmlid_lookup(xmlid)[1:3] File "<decorator-gen-25>", line 2, in xmlid_lookup File "/home/odoo/src/odoo/odoo/tools/cache.py", line 90, in lookup value = d[key] = self.method(*args, **kwargs) File "/home/odoo/src/odoo/odoo/addons/base/models/ir_model.py", line 1674, in xmlid_lookup raise ValueError('External ID not found in the system: %s' % xmlid) odoo.tools.convert.ParseError: "<class 'ValueError'>: "External ID not found in the system: base.user_admin" while evaluating "[(4, ref('base.user_root')), (4, ref('base.user_admin'))]"" while parsing /home/odoo/src/odoo/addons/project/security/project_security.xml:2, near <odoo> <record id="base.module_category_operations_project" model="ir.module.category"> <field name="description">Helps you manage your projects and tasks by tracking them, generating plannings, etc...</field> <field name="sequence">3</field> </record> <record id="group_project_user" model="res.groups"> <field name="name">User</field> <field name="implied_ids" eval="[(4, ref('base.group_user'))]"/> <field name="category_id" ref="base.module_category_operations_project"/> </record> <record id="group_project_manager" model="res.groups"> <field name="name">Administrator</field> <field name="category_id" ref="base.module_category_operations_project"/> <field name="implied_ids" eval="[(4, ref('group_project_user'))]"/> <field name="users" eval="[(4, ref('base.user_root')), (4, ref('base.user_admin'))]"/> </record> <record id="group_subtask_project" model="res.groups"> <field name="name">Use Subtasks</field> <field name="category_id" ref="base.module_category_hidden"/> </record> <record id="group_project_rating" model="res.groups"> <field name="name">Use Rating on Project</field> <field name="category_id" ref="base.module_category_hidden"/> </record> <data noupdate="1"> <record id="base.default_user" model="res.users"> <field name="groups_id" eval="[(4,ref('project.group_project_manager'))]"/> </record> <record model="ir.rule" id="project_comp_rule"> <field name="name">Project: multi-company</field> <field name="model_id" ref="model_project_project"/> <field name="global" eval="True"/> <field name="domain_force">[('company_id', 'in', company_ids)]</field> </record> <record model="ir.rule" id="project_project_manager_rule"> <field name="name">Project: project manager: see all</field> <field name="model_id" ref="model_project_project"/> <field name="domain_force">[(1, '=', 1)]</field> <field name="groups" eval="[(4,ref('project.group_project_manager'))]"/> </record> <record model="ir.rule" id="project_public_members_rule"> <field name="name">Project: employees: following required for follower-only projects</field> <field name="model_id" ref="model_project_project"/> <field name="domain_force">['|', ('privacy_visibility', '!=', 'followers'), '|','|', ('message_partner_ids', 'in', [user.partner_id.id]), ('message_channel_ids', 'in', user.partner_id.channel_ids.ids), ('task_ids.message_partner_ids', 'in', [user.partner_id.id]), ]</field> <field name="groups" eval="[(4, ref('base.group_user'))]"/> </record> <record model="ir.rule" id="task_comp_rule"> <field name="name">Project/Task: multi-company</field> <field name="model_id" ref="model_project_task"/> <field name="global" eval="True"/> <field name="domain_force">[('company_id', 'in', company_ids)]</field> </record> <record model="ir.rule" id="task_visibility_rule"> <field name="name">Project/Task: employees: follow required for follower-only projects</field> <field name="model_id" ref="model_project_task"/> <field name="domain_force">[ '|', ('project_id.privacy_visibility', '!=', 'followers'), '|', ('project_id.message_partner_ids', 'in', [user.partner_id.id]), '|', ('message_partner_ids', 'in', [user.partner_id.id]), # to subscribe check access to the record, follower is not enough at creation ('user_id', '=', user.id) ]</field> <field name="groups" eval="[(4,ref('base.group_user'))]"/> </record> <record model="ir.rule" id="project_manager_all_project_tasks_rule"> <field name="name">Project/Task: project manager: see all</field> <field name="model_id" ref="model_project_task"/> <field name="domain_force">[(1, '=', 1)]</field> <field name="groups" eval="[(4,ref('project.group_project_manager'))]"/> </record> <record model="ir.rule" id="report_project_task_user_report_comp_rule"> <field name="name">Task Analysis multi-company</field> <field name="model_id" ref="model_report_project_task_user"/> <field name="global" eval="True"/> <field name="domain_force">[('company_id', 'in', company_ids)]</field> </record> <!-- Portal --> <record id="project_project_rule_portal" model="ir.rule"> <field name="name">Project: portal users: portal and following</field> <field name="model_id" ref="project.model_project_project"/> <field name="domain_force">[ '&', ('privacy_visibility', '=', 'portal'), ('message_partner_ids', 'child_of', [user.partner_id.commercial_partner_id.id]), ]</field> <field name="groups" eval="[(4, ref('base.group_portal'))]"/> </record> <record id="project_task_rule_portal" model="ir.rule"> <field name="name">Project/Task: portal users: (portal and following project) or (portal and following task)</field> <field name="model_id" ref="project.model_project_task"/> <field name="domain_force">[ '|', '&', ('project_id.privacy_visibility', '=', 'portal'), ('project_id.message_partner_ids', 'child_of', [user.partner_id.commercial_partner_id.id]), '&', ('project_id.privacy_visibility', '=', 'portal'), ('message_partner_ids', 'child_of', [user.partner_id.commercial_partner_id.id]), ]</field> <field name="groups" eval="[(4, ref('base.group_portal'))]"/> </record> </data> </odoo>