Skip to Content

Welcome!

Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

Sign up

You need to be registered to interact with the community.
This question has been flagged
1 Reply
79 Views

Hi,

I was using odo12, and when I installed the new app mrp yesterday, the odoo server reported an error like title.

Could someone please point out the cause of this error , Thanks

Avatar
Discard

Resolved because


1. The "res_users" table missing the login name “default” record;


2. The "ir_model_data" table missing the name "default_user" record .


The resolution process as follows:

1.  insert into res_users (login,company_id,partner_id ,notification_type ,odoobot_state) values ('default',1,3,'email','onboarding_emoji')

2. select id,login from res_users where login='default'

Write down the value of the id, for example 70

3.  insert into ir_model_data (noupdate,"name","module",model,res_id) values (true,'default_user','base','res.users',70)

Installing mrp again was successful

Avatar
Discard

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!