Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kirjanpito
- Varastointi
- PoS
- Project
- MRP
Tämä kysymys on merkitty
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
Nautitko keskustelusta? Älä vain lue, vaan osallistu!
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
RekisteröidyAiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
---|---|---|---|---|
|
1
kesäk. 23
|
5537 | ||
|
0
kesäk. 21
|
3404 | ||
Staging to Production database
Ratkaistu
|
|
3
helmik. 25
|
7092 | |
Forgotten Database Master Password issue
Ratkaistu
|
|
5
heinäk. 24
|
8499 | |
|
3
tammik. 17
|
5536 |