Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
3 Ответы
13223 Представления

Hi All,

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

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

Thnx

Аватар
Отменить
Лучший ответ

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

Аватар
Отменить
Автор

Thank you, that's what i needed

Лучший ответ

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

Аватар
Отменить
Автор

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

Related Posts Ответы Просмотры Активность
1
июн. 25
24978
2
июл. 22
4144
1
мая 22
4001
1
апр. 22
5575
1
сент. 21
3799