Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
2125 Vizualizări

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?


Imagine profil
Abandonează

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 ?

Cel mai bun răspuns

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

Imagine profil
Abandonează
Autor Cel mai bun răspuns

thank you

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
3
iun. 24
2648
1
ian. 24
1232
3
iul. 24
5295
0
apr. 23
2756
0
mar. 25
1516