Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ

I want to make reporting for crm opportuniy from audittrail data. Specifically I need to track how many times stages were changed at any particular time. So I figured I could use audittrail module, which tracks this information. But there I need to use object_id. How can I get object id using sql query (when making repor)? If I would use static id that I got from ir_model table I got (for crm.lead), then if someone would use in another database, that object id may be different and report would stop working.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 2 24
1689
1
thg 5 23
2978
1
thg 4 15
6442
1
thg 3 15
5356
0
thg 9 24
729