Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
3145 Представления

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 Ответы Просмотры Активность
0
мар. 25
1219
2
мар. 25
1277
1
февр. 25
1560
1
дек. 24
2062
0
дек. 24
1633