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)
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
0
thg 8 25
|
1 | ||
|
3
thg 8 25
|
1352 | ||
|
0
thg 8 25
|
6 | ||
|
3
thg 8 25
|
322 | ||
|
2
thg 8 25
|
333 |