Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
3172 Переглядів

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
2
серп. 25
107
0
бер. 25
1271
2
бер. 25
1288
1
лют. 25
1585
1
груд. 24
2090