Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
3636 Vues

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
Ignorer
Auteur Meilleure réponse

Hi all,

I used the child model to track the record changes

Avatar
Ignorer
Publications associées Réponses Vues Activité
1
août 25
2051
2
août 25
679
0
mars 25
1678
2
mars 25
1588
1
févr. 25
2040