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

Hello

with automated actions I want create a ticket helpdesk.

for the moment I create the ticket with the good trigger but I want link the customer of the ticket to the contact

can you help me?


아바타
취소

Hi, can you post an English image or describe more about your use case when you want to create ticket please it that when a partner have been create ?

베스트 답변

Hello, 

You need to run the python code in place of create record. 

x = env['res.partner'].browse(record.id)

env['helpdesk.ticket'].create({'name':'Test','partner_id':x.id})


Thanks

아바타
취소
작성자 베스트 답변

thank you

아바타
취소
관련 게시물 답글 화면 활동
3
6월 24
2828
1
1월 24
1293
3
7월 24
5400
0
4월 23
2877
1
8월 25
217