Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
2115 Zobrazení

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
Zrušit

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 ?

Nejlepší odpověď

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
Zrušit
Autor Nejlepší odpověď

thank you

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
3
čvn 24
2629
1
led 24
1230
3
čvc 24
5289
0
dub 23
2749
0
bře 25
1501