跳至内容
菜单
此问题已终结
3 回复
13203 查看

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
24945
2
7月 22
4132
1
5月 22
3969
1
4月 22
5516
1
9月 21
3767