コンテンツへスキップ
メニュー
この質問にフラグが付けられました

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
2621
1
1月 24
1230
3
7月 24
5288
0
4月 23
2745
0
3月 25
1496