Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
13331 Lượt xem

Hi All,

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

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

Thnx

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

Thank you, that's what i needed

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 6 25
25111
2
thg 7 22
4247
1
thg 5 22
4097
1
thg 4 22
5727
1
thg 9 21
3889