Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
3075 Tampilan

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? 

Avatar
Buang
Penulis Jawaban Terbai

Hi all,

I used the child model to track the record changes

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Mar 25
1165
2
Mar 25
1240
1
Feb 25
1500
1
Des 24
2006
0
Des 24
1595