Skip to Content
Menú
This question has been flagged
3 Respostes
13411 Vistes

Hi All,

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

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

Thnx

Avatar
Descartar
Best Answer

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
Descartar
Autor

Thank you, that's what i needed

Best Answer

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

Avatar
Descartar
Autor

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

Related Posts Respostes Vistes Activitat
1
de juny 25
25176
2
de jul. 22
4265
1
de maig 22
4140
1
d’abr. 22
5811
1
de set. 21
3904