Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- Project
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
Just activate the developer mode which can be found in "About odoo" under user at right top. Then db name will be displayed like User(Db name) at right top.
Try this:
till version 9: cr.dbname
after 9: self.env.cr.dbname
Once you've logged into a database, the URL will contain db=XXXX where XXXX is your current database.
if you need it from inside the code... then
db_name = self.pool.db.dbname (in v7)
or from browser look in the link like ivan explained...
In code, for version 10, its self.pool.db_name
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อRelated Posts | ตอบกลับ | มุมมอง | กิจกรรม | |
---|---|---|---|---|
|
1
มิ.ย. 23
|
5559 | ||
|
0
มิ.ย. 21
|
3410 | ||
Staging to Production database
แก้ไขแล้ว
|
|
3
ก.พ. 25
|
7111 | |
Forgotten Database Master Password issue
แก้ไขแล้ว
|
|
5
ก.ค. 24
|
8523 | |
|
3
ม.ค. 17
|
5550 |