How to retrive the current dbname and current hostname from odoo?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- सीआरएम
- e-Commerce
- लेखांकन
- इन्वेंटरी
- PoS
- Project
- MRP
This question has been flagged
From client point of view, you can send POST request to <hostname>/web/session/get_session_info with payload
{"jsonrpc":"2.0","method":"call","params":{"session_id":session_id},"id":"r1"}
with session_id (I assume you already get this).
From server point of view I think you already know a suitable answer : https://www.odoo.com/forum/help-1/question/how-do-i-get-information-from-openerp-server-conf-in-python-program-57987
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
4
अक्तू॰ 25
|
358 | ||
POS receipt template V19
Solved
|
|
2
अक्तू॰ 25
|
428 | |
|
1
अक्तू॰ 25
|
410 | ||
|
1
सित॰ 25
|
353 | ||
|
1
सित॰ 25
|
443 |