Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
2117 Weergaven

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?


Avatar
Annuleer

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 ?

Beste antwoord

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

Avatar
Annuleer
Auteur Beste antwoord

thank you

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
3
jun. 24
2633
1
jan. 24
1230
3
jul. 24
5289
0
apr. 23
2749
0
mrt. 25
1504