Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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?


Awatar
Odrzuć

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 ?

Najlepsza odpowiedź

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

Awatar
Odrzuć
Autor Najlepsza odpowiedź

thank you

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
3
cze 24
2658
1
sty 24
1233
3
lip 24
5296
0
kwi 23
2758
0
mar 25
1518