跳至內容
選單
此問題已被標幟
3 回覆
13225 瀏覽次數

Hi All,

i want to check my odoo database id, is this possible?

i mean the uuidm, like this one " 6d95e0e0-****-****-****-************ "

Thnx

頭像
捨棄
最佳答案

Hi,

You can get the database ID from the system parameters,

Activate the developer mode and navigate to Settings -> Technical -> Parameters -> System Parameters, here you can see record with the key database.uuid

To get it in the code,
db_id = self.env['ir.config_parameter'].get_param('database.uuid')

Thanks

頭像
捨棄
作者

Thank you, that's what i needed

最佳答案

you can check the database using PG Admin III and there you can see all the tables and columns and their ids.

頭像
捨棄
作者

Thanks but i was asking about the database uuid , the whole database id , not the id of the records inside the tables

相關帖文 回覆 瀏覽次數 活動
1
6月 25
24978
2
7月 22
4144
1
5月 22
4002
1
4月 22
5575
1
9月 21
3799