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()") |
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อ| Related Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
|---|---|---|---|---|
|
Database for my module not created
แก้ไขแล้ว
|
4
เม.ย. 24
|
3422 | ||
|
2
ก.พ. 23
|
7131 | |||
|
Database Odoo
แก้ไขแล้ว
|
1
มี.ค. 18
|
4321 | ||
|
1
มี.ค. 17
|
4223 | |||
|
1
ส.ค. 16
|
5958 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.