Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
3 Besvarelser
7928 Visninger

I would like to see the database I'm logged in.. How to do?

Avatar
Kassér

I'm a bit confused. I understood the question to mean "see the database structure and the contents of the tables", but the answers so far indicate that others interpret it as "the name of the database". If I am right and it is unclear, could you please clarify your question (either name of database or database structure and content)? Of course, my English is not without its flaws so I may be wrong.

Bedste svar

You can see current logged in database name in url.

http://localhost:8069/?debug=&db=your_database_name

Avatar
Kassér
Bedste svar

Go to the settings menu (top-right side on your browser window) and select About OpenERP menu:

image description

Active Developer Mode:

image description

Now you can read the db name in the setting menu:

image description

or in the browser URL:

ocalhost:8069/?debug=&db=XXXXXXXXXXX&ts=1365073348049#page=0

Avatar
Kassér

You can see on your terminal:: 2013-04-04 11:07:07,803 8741 INFO nbh werkzeug: 127.0.0.1 - - [04/Apr/2013 11:07:07] "POST /web/dataset/call_kw/stock.config.settings:default_get HTTP/1.1" 200 Here "nbh" is database name..!!

Not all can read OpenERP log or terminal.

Bedste svar

When using openERP V7 from the trunk, and using Firefox (at least in 19.x), I see the name of the DB in the address bar, without enabling developer mode or anything.

If you want to display it on the screen, you probably have to modify some XML file (or even python code).

Avatar
Kassér