Commit Graph

5 Commits

Author SHA1 Message Date
Kersten Jeremy 1c5ed2973e [FIX] mail template view - Set body_html field as simple text area without cke by default. Else, the mako code are considered as mal formatted and moved.
bzr revid: jke@openerp.com-20140415113751-h0a1tg36tht1bys1
2014-04-15 13:37:51 +02:00
Olivier Dony b89d6d99c8 [FIX] product_email_template: typos
bzr revid: odo@openerp.com-20140403142836-9na8qo7y7gqr0nmi
2014-04-03 16:28:36 +02:00
Christophe Simonis 3eb5f2e07c [FIX] product_email_template: correct product view: move email_template_id after company
bzr revid: chs@openerp.com-20140127185820-o2pz61k9ygozf1qb
2014-01-27 19:58:20 +01:00
Thibault Delavallée e93a3b1880 [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
2014-01-24 13:06:52 +01:00
Thibault Delavallée 5d17667bb1 [RENAME] account_product_template -> product_email_template, to avoid
confusion with product templates. The main feature are email template on product
therefore renaming the module.

bzr revid: tde@openerp.com-20140124110802-unn4u75ad4jt0bb2
2014-01-24 12:08:02 +01:00