title: Odoo 10 - Custom module to replace mail templates
body: <p>I want to write a custom module to replace mail templates.</p>
  
  <p>Those templates are included in base Odoo addons, such as sale:</p>
  
  <p>The <code>sale.order</code> template ìs provided by the file <code>/sale/data/mail_template_data.xml</code></p>
  
  <p>This template is as follows:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;odoo&gt;
      &lt;data noupdate="1"&gt;
      &lt;!--Email template --&gt;
      &lt;record id="email_template_edi_sale" model="mail.template"&gt;
          &lt;field name="name"&gt;Sales Order - Send by Email&lt;/field&gt;¬
  
      ...
  &lt;/odoo&gt;
  </code></pre>
  
  <p>As the custom module wants to replace this standard base template:</p>
  
  <ul>
  <li>Can a record with the same id be provided by the custom module to replace this mail template?</li>
  <li>What shall be writte in <code>&lt;data noupdate&gt;</code>?</li>
  <li>What will happen if module <code>sale</code> is updated?</li>
  </ul>
  
  <p>Odoo 10 community edition.</p>