Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
4277 Lượt xem

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)]
Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 10 24
1620
0
thg 3 24
2064
2
thg 10 21
6594
0
thg 3 25
1586
2
thg 10 24
1808