Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
3 Răspunsuri
13264 Vizualizări

Hi All,

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

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

Thnx

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Autor

Thank you, that's what i needed

Cel mai bun răspuns

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

Imagine profil
Abandonează
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 Răspunsuri Vizualizări Activitate
1
iun. 25
25014
2
iul. 22
4197
1
mai 22
4021
1
apr. 22
5617
1
sept. 21
3828