Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3123 Zobrazení

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
Zrušit
Autor Nejlepší odpověď

Hi all,

I used the child model to track the record changes

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
bře 25
1175
2
bře 25
1257
1
úno 25
1529
1
pro 24
2026
0
pro 24
1612