تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
2157 أدوات العرض

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
3
يونيو 24
2677
1
يناير 24
1260
3
يوليو 24
5322
0
أبريل 23
2780
0
مارس 25
1544