Browse Source

Merge pull request #121 from coopiteasy/12.0-add-easymycoop-field-on-mail-template

[IMP] add easy my coop flag on email template.
pull/122/head 12.0-2020-08-20.00
Houssine BAKKALI 4 years ago
committed by GitHub
parent
commit
7ab77d9a3b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 13
      easy_my_coop/views/email_template_view.xml

13
easy_my_coop/views/email_template_view.xml

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record model="ir.actions.act_window"
id="action_easy_my_coop_email_templates">
<record model="ir.actions.act_window" id="action_easy_my_coop_email_templates">
<field name="name">Mail Templates</field>
<field name="res_model">mail.template</field>
<field name="view_type">form</field>
@ -12,4 +11,14 @@
<field name="search_view_id" ref="mail.view_email_template_search"/>
</record>
<record model="ir.ui.view" id="email_template_form_emh">
<field name="name">email.template.form</field>
<field name="model">mail.template</field>
<field name="inherit_id" ref="mail.email_template_form"/>
<field name="arch" type="xml">
<field name="mail_server_id" position="after">
<field name="easy_my_coop"/>
</field>
</field>
</record>
</odoo>
Loading…
Cancel
Save