콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
5484 화면


Hello, i need to make a Automated Action on Odoo 12 to auto add the 3 chosen users as followers on create of contact. 

Image: https://ibb.co/yNXf6q3

Contact Manager = Field name: user_id
L2 Manager = Field name: x_studio_l2_manager
L3 Manager = Field name: x_studio_l3_manager

Any suggestion?

Thanks

--Update--

i found solution from  @arryph: Stackoverflow

record.message_subscribe(partner_ids=[record.user_id.partner_id.id, record.x_studio_l2_manager.partner_id.id, record.x_studio_l3_manager.partner_id.id])

Note:
I have the two extra fields type: res.users


아바타
취소
관련 게시물 답글 화면 활동
2
8월 24
1496
0
1월 25
1394
2
6월 23
1779
0
5월 23
1834
1
4월 23
32145