Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
3 Odpowiedzi
40265 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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)?

Awatar
Odrzuć

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 !

Najlepsza odpowiedź

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? 

Awatar
Odrzuć
Autor

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

Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
11
kwi 23
34397
0
sty 23
2298
1
maj 22
4206
1
kwi 22
5376
0
wrz 21
2209