diff options
| author | Thibault Delavallée <tde@openerp.com> | 2014-01-24 13:06:52 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2014-01-24 13:06:52 +0100 |
| commit | e93a3b1880534409b92a18a216341258ce7f97f4 (patch) | |
| tree | 2500e402b78af2966030c2482a6a856710d3a08e /addons/analytic_user_function | |
| parent | 8bfc149e7b626cd8de8a6b909bf6f51ab2bf5687 (diff) | |
| parent | b845b708af235b7854c1b52666ba4f7b5ef3e63a (diff) | |
[MERGE] [ADD] product_email_template new module. It allows ot send template-based emails when validating invoices. This allows to send description, user guides, technical datasheets, ... when selling products.
product_template inheritance: added email_template_id field, link to an optional email.template
invoice inheritance: when validating the invoice, send an email for each product that has a linked email.template.
email_template inheritance: defined a new simplified form view with only attachment_ids and body, to ease the quick edition of email templates. This simplified form view is used for the email_template_id field on the product.template form view.
email_template: when having default_model in default_get, use it to prefetch model_id. Indeed model is a related file, we have to redirect its default to the right model_id field.
bzr revid: tde@openerp.com-20140124120652-vxp0jwf14sl1frme
Diffstat (limited to 'addons/analytic_user_function')
0 files changed, 0 insertions, 0 deletions
