Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3 Risposte
13247 Visualizzazioni

Hi All,

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

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

Thnx

Avatar
Abbandona
Risposta migliore

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
Abbandona
Autore

Thank you, that's what i needed

Risposta migliore

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

Avatar
Abbandona
Autore

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

Post correlati Risposte Visualizzazioni Attività
1
giu 25
25009
2
lug 22
4181
1
mag 22
4016
1
apr 22
5599
1
set 21
3812