Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
2183 Visualizzazioni

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
Abbandona

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 ?

Risposta migliore

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
Abbandona
Autore Risposta migliore

thank you

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
3
giu 24
2724
1
gen 24
1273
3
lug 24
5344
0
apr 23
2817
0
mar 25
1570