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()") |
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
Rekisteröidy| Aiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
|---|---|---|---|---|
|
Database for my module not created
Ratkaistu
|
4
huhtik. 24
|
3412 | ||
|
2
helmik. 23
|
7125 | |||
|
Database Odoo
Ratkaistu
|
1
maalisk. 18
|
4308 | ||
|
1
maalisk. 17
|
4207 | |||
|
1
elok. 16
|
5947 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.