Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
7991 Lượt xem

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

Ảnh đại diện
Huỷ bỏ

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.

Câu trả lời hay nhất

You can see current logged in database name in url.

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ

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.

Câu trả lời hay nhất

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).

Ảnh đại diện
Huỷ bỏ