Browse Source

[FIX] set mail template as no updatable

pull/1/head
houssine 8 years ago
parent
commit
bf3b6e8dc1
  1. 2
      easy_my_coop_taxshelter_report/data/mail_template_data.xml

2
easy_my_coop_taxshelter_report/data/mail_template_data.xml

@ -1,7 +1,7 @@
<openerp> <openerp>
<!-- Mail template are declared in a NOUPDATE block <!-- Mail template are declared in a NOUPDATE block
so users can freely customize/delete them --> so users can freely customize/delete them -->
<data noupdate="0">
<data noupdate="1">
<record id="email_template_tax_shelter_certificate" model="mail.template"> <record id="email_template_tax_shelter_certificate" model="mail.template">
<field name="name">Tax Shelter Certificate - Send By Email</field> <field name="name">Tax Shelter Certificate - Send By Email</field>
<field name="email_from">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field> <field name="email_from">${(object.company_id.coop_email_contact or object.user_id.email)|safe}</field>

Loading…
Cancel
Save