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

I have tested this (very) simple server action in Odoo 12 that would use Python to add a tag to a contact. In 12, it works whether or not the contact already has a tag. In 13, it will overwrite whatever is currently in the tag field.

How can I modify this so that it appends rather than overwrites?

(99 is the ID of the tag in my test.)

record['category_id'] = [(99)]
Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
окт. 24
1621
0
мар. 24
2064
2
окт. 21
6596
0
мар. 25
1586
2
окт. 24
1810