콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
5 답글
33713 화면
베스트 답변

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
6월 23
5619
0
6월 21
3455
3
2월 25
7229
5
7월 24
8612
3
1월 17
5598