Skip to Content
Menu
This question has been flagged
1 Reply
2589 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
Author Best Answer

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
Related Posts Replies Views Activity
1
Apr 24
331
1
Sep 23
1021
2
Aug 22
6351
8
Jun 20
19635
1
Apr 20
53