跳至內容
選單
此問題已被標幟
3 回覆
40292 瀏覽次數

In many cases in Odoo, like Opportunities for example, if we change certain fields (Expected Revenue etc.), it automatically logs it in the chatter with the message:

Expected Revenue: 50000 -> 60000

or something like that. Does anyone know how this is achieved exactly? Because, it doesn't seem to send this text as a message when writing a record, it just seems to be part of some default functionality

頭像
捨棄
最佳答案

Hello,

How can we do that if we want to track a system field that doesn't allow to change "track_visibility" in the parameters (read only)?

頭像
捨棄

Hi,

For the system field, you can define automated action to track

See the video: https://www.youtube.com/watch?v=Oxy1Wurzwvs

Thank you very much Haresh, that is the perfect answer to what I was looking ! Many thanks !

最佳答案

Hello Shawn,

The main key of the message is "track_visibility" parameter in the fields.

Source 

Forum: What is _track Property is? 

Documentation: What is _track Property is? 

頭像
捨棄
作者

Yup, I had just found it... was going to post here. Thanks!

最佳答案

Thanks, yes that is the perfect answer to what I was looking .. because i can't use python code in pycharm yet

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
11
4月 23
34406
0
1月 23
2311
1
5月 22
4218
1
4月 22
5409
0
9月 21
2229