콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
3 답글
7818 화면

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

아바타
취소
관련 게시물 답글 화면 활동
0
8월 25
3
3
8월 25
1352
0
8월 25
6
3
8월 25
322
2
8월 25
333