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()") |
Create an account today to enjoy exclusive features and engage with our awesome community!
Přihlásit se| Related Posts | Odpovědi | Zobrazení | Aktivita | |
|---|---|---|---|---|
|
Database for my module not created
Vyřešeno
|
4
dub 24
|
3431 | ||
|
2
úno 23
|
7152 | |||
|
Database Odoo
Vyřešeno
|
1
bře 18
|
4342 | ||
|
1
bře 17
|
4250 | |||
|
1
srp 16
|
5984 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.