コンテンツへスキップ
メニュー
この質問にフラグが付けられました
3 返信
7831 ビュー

Hi,

How do I attach a file to a sales order programmatically? I want to know how this is done in both 6.1, 7 and the new 8 version of Odoo (OpenERP)

アバター
破棄
最善の回答

I followed the example here to send email attachments. Hope this helps

http://www.tutorialspoint.com/python/python_sending_email.htm

アバター
破棄
最善の回答

Vivek,

Please follow addons/email_template/email_template.py generate_email()!

Thanks.

アバター
破棄
最善の回答

Hi Vivek,

You can look this module we develop where we add in a sale order the attachments of products related to the sale order:

http://bazaar.launchpad.net/~ingenieria-adhoc/adhoc-oerp/7.0/files/head:/sale_order_mail_product_attachment/

That would be to do "programmatically", if not, just in emails template in the second tab you can choose attachments to be sent together to the email.

Regards,

Juan José - Ing ADHOC

アバター
破棄
関連投稿 返信 ビュー 活動
3
8月 25
1356
3
8月 25
338
2
8月 25
351
0
8月 25
165
1
8月 25
516