コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
3170 ビュー

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
1265
2
3月 25
1286
1
2月 25
1580
1
12月 24
2086
0
12月 24
1643