跳至内容
菜单
此问题已终结

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
2661
1
1月 24
1238
3
7月 24
5297
0
4月 23
2758
0
3月 25
1524