Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
2130 Представления

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?


Аватар
Отменить

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 ?

Лучший ответ

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

Аватар
Отменить
Автор Лучший ответ

thank you

Аватар
Отменить
Related Posts Ответы Просмотры Активность
3
июн. 24
2658
1
янв. 24
1233
3
июл. 24
5296
0
апр. 23
2758
0
мар. 25
1520