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
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
|
1
يونيو 23
|
4990 | ||
|
0
يونيو 21
|
3091 | ||
Staging to Production database
تم الحل
|
|
3
فبراير 25
|
6027 | |
|
5
يوليو 24
|
7796 | ||
|
3
يناير 17
|
5249 |