[ADD] website: email_template: added website_link field, a link to edit the template directly in the website [ADD] website_mail: added controller and page to edit templates. They are still jinja templates editable in the website. Not qweb templates. [ADD] website_mail: JS file and editor override to enable only certain snippets. Those are still to add, but will be base templates for email. [IMP] website: improved the addition of editor JS in the template header to be able to add JS file that override the editor without having to hack everything in the template. bzr revid: tde@openerp.com-20140113125534-djy48pi7lf42f9ms
17 lines
632 B
XML
17 lines
632 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data>
|
|
<record model="ir.ui.view" id="email_template_form_inherit_website_link">
|
|
<field name="name">email.template.form</field>
|
|
<field name="model">email.template</field>
|
|
<field name="inherit_id" ref="email_template.email_template_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//page[@string='Mailing Template']/group" position="before">
|
|
<field name="website_link" widget='html' radonly='1'/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
</data>
|
|
</openerp>
|