Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
3 Vastaukset
40390 Näkymät

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

Avatar
Hylkää
Paras vastaus

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

Avatar
Hylkää

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 !

Paras vastaus

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? 

Avatar
Hylkää
Tekijä

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

Paras vastaus

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

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
11
huhtik. 23
34467
0
tammik. 23
2359
1
toukok. 22
4279
1
huhtik. 22
5530
0
syysk. 21
2287