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

Current process we have dedicated button for email. It is possible that user may confirm Purchase order but forget to click email button to send purchase order via email. This will cause major usability issue.

Is their any way we can automatically email when purchase order is confirmed?

Thank you

الصورة الرمزية
إهمال

Hello everyone! I try to send email automatically by adding this Python code to Server action: template_obj = self.pool.get('email.template') template_inst = template_obj.search(cr,uid,[('name','=','Invoice - Send by Email')])[0] action = template_obj.send_mail(cr,uid,template_inst,object.id,False,context)

The email has been created, based on template and with attachment of invoice, but the "send_to" field stays empty. So email stays in the folder Email->Emails. How can i solve this problem?

المنشورات ذات الصلة الردود أدوات العرض النشاط
2
أغسطس 24
1420
1
مايو 16
2924
1
فبراير 19
21913
1
مارس 15
4610
0
نوفمبر 24
1310