[IMP] website_mail: make the template / mail editor work. We now have a limited
authorThibault Delavallée <tde@openerp.com>
Wed, 16 Apr 2014 10:59:01 +0000 (12:59 +0200)
committerThibault Delavallée <tde@openerp.com>
Wed, 16 Apr 2014 10:59:01 +0000 (12:59 +0200)
commitd264cd164017795cee3a8b463eee318c7dc61552
tree6c9bc66bc3c29e41d0c9d1bc4ecf5d2fd3878a7f
parentf9b2b667a0e3ac63aff55f48a98e5b47938c187a
[IMP] website_mail: make the template / mail editor work. We now have a limited
set of fields that we try to edit (body_html and body for body, email_from and email for
email-from, name and subject for subject), because t-field is not dynamic. If the model
that should be edited does not hold those fields, the mail editor won't work.

Also fixed editor not being actiated when going into the body edition.

bzr revid: tde@openerp.com-20140416105901-vavkh9erjsq4mof9
addons/mass_mailing/models/mass_mailing.py
addons/website/static/src/js/website.editor.js
addons/website_mail/controllers/email_designer.py
addons/website_mail/models/email_template.py
addons/website_mail/static/src/js/website_email_designer.js
addons/website_mail/views/website_email_designer.xml