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

Dear all,

I set a tracking=True in an one2many field of child model by Odoo17 community. I followed the link How to use track_visibility='onchange' on order lines fields [odoo14] and edited the code in the child model.

When running, below error popped up. 

if set(vals) & set(self._get_tracked_fields(vals)):

                       ^^^^^^^^^^^^^^^^^^^^^^^^

AttributeError: xxx' object has no attribute '_get_tracked_fields'


Could someone advise how I can get child's model "tracking=True" working at the parent model or fix this error? 

아바타
취소
작성자 베스트 답변

Hi all,

I used the child model to track the record changes

아바타
취소
관련 게시물 답글 화면 활동
1
8월 25
1863
2
8월 25
520
0
3월 25
1487
2
3월 25
1424
1
2월 25
1792