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

I need to use API to download excel file reports genereted by odoo. BUt csrf token is changing every hour, so I need to use API instead of regular request. 

On documentation, it is given an example on python 
uid = common.authenticate(db, username, password,{})
But I do not know databases names. 

How do I consult databases names? I do know there names because website is in Spanish. There is a way to know those names?

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

Hi Juan,

http://your_odoo_server_url:port/web/database/selector

Replace your_odoo_server_url with the URL of your Odoo server and port with the specific port number you use to access Odoo.

eg: http://localhost:9616/web/database/selector

To know the database name of the currently working Odoo instance. Activate Developer mode, The database name will be displayed next to the user's name or avatar.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 9 24
2183
0
thg 11 23
2045
1
thg 9 23
2347
3
thg 3 23
4372
0
thg 7 21
1843