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

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
3月 25
1226
2
3月 25
1279
1
2月 25
1566
1
12月 24
2073
0
12月 24
1636