Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
13416 มุมมอง

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
25183
2
ก.ค. 22
4267
1
พ.ค. 22
4142
1
เม.ย. 22
5813
1
ก.ย. 21
3905