Mail

Activity

X Reference

ID: mint_system.mail.activity.x_reference

<?xml version='1.0' encoding='UTF-8' ?>
<odoo>

  <record id="x_reference" model="ir.model.fields">
    <field name="domain">[]</field>
    <field name="field_description">Reference</field>
    <field name="model">mail.activity</field>
    <field name="model_id" ref="mail.model_mail_activity"/>
    <field name="name">x_reference</field>
    <field name="state">manual</field>
    <field name="store" eval="True"/>
    <field name="readonly" eval="True"/>
    <field name="copied" eval="False"/>
    <field name="ttype">char</field>
    <field name="depends">res_model,res_id</field>
    <field name="compute">for record in self:
  record['x_reference'] = "%s,%s" % (record.res_model, record.res_id)</field>
  </record>

</odoo>

Source: snippets/mail.activity.x_reference.xmlopen in new window

Mail Activity View Form Popup

X Reference

ID: mint_system.mail.mail_activity_view_form_popup.x_reference

<?xml version="1.0"?>
<data inherit_id="mail.mail_activity_view_form_popup" priority="50">

  <field name="summary" position="before">
    <field name="x_reference" widget="reference" />
  </field>

</data>

Source: snippets/mail.mail_activity_view_form_popup.x_reference.xmlopen in new window

Mail Notification Borders

Reduce To Content

ID: mint_system.mail.mail_notification_borders.reduce_to_content

<?xml version="1.0"?>
<data inherit_id="mail.mail_notification_borders" priority="50">

    <xpath expr="//tbody" position="replace">
        <tbody>

            <!-- CONTENT -->
            <tr>
                <td align="center" style="min-width: 590px;">
                    <table width="590" border="0" cellpadding="0" bgcolor="#ffffff" style="min-width: 590px; background-color: rgb(255, 255, 255); padding: 20px; border-collapse:separate;">
                        <tbody>
                            <td valign="top" style="font-family:Arial,Helvetica,sans-serif; color: #555; font-size: 14px;">
                                <t t-raw="message.body"/>
                            </td>
                        </tbody>
                    </table>
                </td>
            </tr>
            <tr>
                <td align="center" style="padding: 8px; font-size:11px;">
                    <a></a>
                </td>
            </tr>
        </tbody>
    </xpath>

</data>

Source: snippets/mail.mail_notification_borders.reduce_to_content.xmlopen in new window

ID: mint_system.mail.mail_notification_borders.remove_logo

<?xml version="1.0"?>
<data inherit_id="mail.mail_notification_borders" priority="50">

  <xpath expr="//table[@summary='o_mail_notification']//table/tr/td[2]/img" position="replace">
  </xpath>

</data>

Source: snippets/mail.mail_notification_borders.remove_logo.xmlopen in new window

White Background

ID: mint_system.mail.mail_notification_borders.white_background

<?xml version="1.0"?>
<data inherit_id="mail.mail_notification_borders" priority="50">
    <xpath expr="//table" position="attributes">
        <attribute name="style" separator=";" add="background-color: #fff" />
    </xpath>
</data>

Source: snippets/mail.mail_notification_borders.white_background.xmlopen in new window

Mail Notification Email

Remove Logo

ID: mint_system.mail.mail_notification_email.remove_logo

<?xml version="1.0"?>
<data inherit_id="mail.mail_notification_email" priority="50">

  <xpath expr="//div[@summary='o_mail_notification']/table/tbody/tr/td[2]/img" position="replace">
  </xpath>

</data>

Source: snippets/mail.mail_notification_email.remove_logo.xmlopen in new window

Mail Notification Light

Align Left

ID: mint_system.mail.mail_notification_light.align_left

<?xml version="1.0"?>
<data inherit_id="mail.mail_notification_light" priority="60">

  <xpath expr="//td[@align='center']" position="attributes">
    <attribute name="align">left</attribute>
  </xpath>

</data>

Source: snippets/mail.mail_notification_light.align_left.xmlopen in new window

Reduce To Content

ID: mint_system.mail.mail_notification_light.reduce_to_content

<?xml version="1.0"?>
<data inherit_id="mail.mail_notification_light" priority="50">

  <xpath expr="//t/table" position="replace">
    <table border="0" cellpadding="0" cellspacing="0" style="padding-top: 16px; background-color: #F1F1F1; font-family:Verdana, Arial,sans-serif; color: #454748; width: 100%; border-collapse:separate;">
      <tr>
        <td align="center">
          <table border="0" cellpadding="0" cellspacing="0" width="590" style="padding: 24px; background-color: white; color: #454748; border-collapse:separate;">
            <tbody>
              <!-- CONTENT -->
              <tr>
                <td style="min-width: 590px;">
                  <t t-raw="message.body"/>
                </td>
              </tr>

            </tbody>
          </table>
        </td>
      </tr>
      <!-- POWERED BY -->
      <tr>
        <td align="center" style="min-width: 590px;">
          <a></a>
        </td>
      </tr>
    </table>
  </xpath>
</data>

Source: snippets/mail.mail_notification_light.reduce_to_content.xmlopen in new window

Remove Logo

ID: mint_system.mail.mail_notification_light.remove_logo

<?xml version="1.0"?>
<data inherit_id="mail.mail_notification_light" priority="50">

  <xpath expr="//tbody/tr/td/table/tr/td[2]/img" position="replace">
  </xpath>

</data>

Source: snippets/mail.mail_notification_light.remove_logo.xmlopen in new window

ID: mint_system.mail.mail_notification_light.replace_footer

<?xml version="1.0"?>
<data inherit_id="mail.mail_notification_light" priority="50">

  <xpath expr="//tbody/tr[3]/td/div" position="replace">
	  <div style="color: #999999">
			<a t-att-href="'%s' % company.website" style="text-decoration:none; color: #999999;">
				example.ch
			</a>
		</div>
  </xpath>

</data>

Source: snippets/mail.mail_notification_light.replace_footer.xmlopen in new window

White Background

ID: mint_system.mail.mail_notification_light.white_background

<?xml version="1.0"?>
<data inherit_id="mail.mail_notification_light" priority="60">
  <xpath expr="//t/table" position="attributes">
    <attribute name="style" separator=";" add="background-color: #fff" />
  </xpath>
</data>

Source: snippets/mail.mail_notification_light.white_background.xmlopen in new window

Mail Notification Paynow

Align Left

ID: mint_system.mail.mail_notification_paynow.align_left

<?xml version="1.0"?>
<data inherit_id="mail.mail_notification_paynow" priority="60">

  <xpath expr="//td[@align='center']" position="attributes">
    <attribute name="align">left</attribute>
  </xpath>

</data>

Source: snippets/mail.mail_notification_paynow.align_left.xmlopen in new window

Reduce To Content

ID: mint_system.mail.mail_notification_paynow.reduce_to_content

<?xml version="1.0"?>
<data inherit_id="mail.mail_notification_paynow" priority="50">

  <xpath expr="//t/table" position="replace">

    <table border="0" cellpadding="0" cellspacing="0" style="padding-top: 16px; background-color: #F1F1F1; font-family:Verdana, Arial,sans-serif; color: #454748; width: 100%; border-collapse:separate;">
      <tr>
        <td align="center">
          <table border="0" cellpadding="0" cellspacing="0" width="590" style="padding: 24px; background-color: white; color: #454748; border-collapse:separate;">
            <tbody>
              <!-- CONTENT -->
              <tr>
                <td style="padding: 0">
                  <t t-raw="message.body"/>
                </td>
              </tr>
            </tbody>

          </table>
        </td>
      </tr>
      <!-- POWERED BY -->
      <tr>
        <td align="center" style="min-width: 590px; padding: 8px; font-size:11px;">
          <a></a>
        </td>
      </tr>
    </table>

  </xpath>
</data>

Source: snippets/mail.mail_notification_paynow.reduce_to_content.xmlopen in new window

Remove Logo

ID: mint_system.mail.mail_notification_paynow.remove_logo

<?xml version="1.0"?>
<data inherit_id="mail.mail_notification_paynow" priority="50">

  <xpath expr="//tbody/tr/td/table/tr/td[2]/img" position="replace">
  </xpath>

</data>

Source: snippets/mail.mail_notification_paynow.remove_logo.xmlopen in new window

Remove Signature

ID: mint_system.mail.mail_notification_paynow.remove_signature

<?xml version="1.0"?>
<data inherit_id="mail.mail_notification_paynow" priority="50">

  <xpath expr="//tbody/tr[2]/td/t[2]" position="replace">
  </xpath>

</data>

Source: snippets/mail.mail_notification_paynow.remove_signature.xmlopen in new window

ID: mint_system.mail.mail_notification_paynow.replace_footer

<?xml version="1.0"?>
<data inherit_id="mail.mail_notification_paynow" priority="50">

  <xpath expr="//tbody/tr[3]/td/div" position="replace">
	  <div style="color: #999999">
			<a t-att-href="'%s' % company.website" style="text-decoration:none; color: #999999;">
				example.ch
			</a>
		</div>
  </xpath>

</data>

Source: snippets/mail.mail_notification_paynow.replace_footer.xmlopen in new window

White Background

ID: mint_system.mail.mail_notification_paynow.white_background

<?xml version="1.0"?>
<data inherit_id="mail.mail_notification_paynow" priority="60">
  <xpath expr="//t/table" position="attributes">
    <attribute name="style" separator=";" add="background-color: #fff" />
  </xpath>
</data> 

Source: snippets/mail.mail_notification_paynow.white_background.xmlopen in new window