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()") |
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Registrarse| Publicaciones relacionadas | Respuestas | Vistas | Actividad | |
|---|---|---|---|---|
|
Database for my module not created
Resuelto
|
4
abr 24
|
3572 | ||
|
2
feb 23
|
7271 | |||
|
Database Odoo
Resuelto
|
1
mar 18
|
4472 | ||
|
1
mar 17
|
4329 | |||
|
1
ago 16
|
6120 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.