Hi,
I would like to know if there is a way and how to proceed to programmatically know what is the current database name from within module scripts.
Thanks.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi,
I would like to know if there is a way and how to proceed to programmatically know what is the current database name from within module scripts.
Thanks.
Hi please try this:-
>> cursor_postgres.execute("select current_database()") |
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|
4
avr. 24
|
3421 | |||
|
2
févr. 23
|
7130 | |||
|
Database Odoo
Résolu
|
1
mars 18
|
4319 | ||
|
1
mars 17
|
4216 | |||
|
1
août 16
|
5956 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.