Se rendre au contenu
Menu
Cette question a été signalée
3 Réponses
13229 Vues

Hi All,

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

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

Thnx

Avatar
Ignorer
Meilleure réponse

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
Ignorer
Auteur

Thank you, that's what i needed

Meilleure réponse

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

Avatar
Ignorer
Auteur

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

Publications associées Réponses Vues Activité
1
juin 25
24978
2
juil. 22
4145
1
mai 22
4004
1
avr. 22
5575
1
sept. 21
3800