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

Odoo V12 enterprise

I'm trying to manipulate the mail.messages models via the Odoo Web API (odoorpc)  unfortunately I get an access denied error when attempting to manipulate any of the data. When login in via the normal web interface I can simply use "web/become" url to make myself super user. 

I have tried

1. Login as __system__, 

2. calling 'web/become' with odoorpc. 

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

I ended up modifying the odoorpc code to allow connection as SuperUser. 

1. login with original user

2. Go to  web/become url

3. Retrieve new session details and change user to SuperUser returned and Password to password set for odoobot.


Ảnh đại diện
Huỷ bỏ
Tác giả

Stopped working in Odoo 15