Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
7 Trả lời
7696 Lượt xem

Hi, 

when i try to login in odoo 14 community i get this problem 


403: Forbidden

The page you were looking for could not be authorized.

Error message:

Due to security restrictions, you are not allowed to access 'Users' (res.users) records.

Contact your administrator to request access if necessary.

Implicitly accessed through 'Users' (res.users).

the db user is a superuser , Any Idea for possible solutions ?


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Search for the logged-in user in the res.partner table in the database. If the commercial_partner_id is null, update it with the corresponding res.partner ID. This approach resolved the issue for me.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

I have exactly same problem and same DB version. The problem raises when I create a new employee user and this new user tries to log in for the first time.

How did you manage to solve it?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

I have the solution:

Basically, check the  type filed in res.partner table,

if it is private, update to contact.

This will solve the issue.

you can do that by query or group be type then move from private to contact type 

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

I encountered a similar issue, and it caused by customer_rank column in the res_partner table was null. To solve this, I set a default value for it.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Has anyone found a fix for this?  I'm having the same issue with portal users.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

I'm facing exactly the same issue with Odoo 16.

Did you figured-out what was wrong ?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

any solution for this? I have the same

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 2 22
2897
1
thg 11 23
24266
0
thg 5 23
1413
1
thg 5 22
3779
0
thg 10 21
2782