跳至內容
選單
此問題已被標幟

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.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
2月 24
1671
1
5月 23
2968
1
4月 15
6400
1
3月 15
5334
0
9月 24
726