콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
3 답글
40679 화면

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
34699
0
1월 23
2453
1
5월 22
4413
1
4월 22
5783
0
9월 21
2398