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

Hi All,

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

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

Thnx

Avatar
Kassér
Bedste svar

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

Avatar
Kassér
Forfatter

Thank you, that's what i needed

Bedste svar

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

Avatar
Kassér
Forfatter

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

Related Posts Besvarelser Visninger Aktivitet
1
jun. 25
25115
2
jul. 22
4248
1
maj 22
4110
1
apr. 22
5759
1
sep. 21
3894