diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
| commit | 3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch) | |
| tree | a44932296ef4a9b71d5f010906253d8c53727726 /addons/crm_iap_lead/views/mail_templates.xml | |
| parent | 0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff) | |
initial commit 2
Diffstat (limited to 'addons/crm_iap_lead/views/mail_templates.xml')
| -rw-r--r-- | addons/crm_iap_lead/views/mail_templates.xml | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/addons/crm_iap_lead/views/mail_templates.xml b/addons/crm_iap_lead/views/mail_templates.xml new file mode 100644 index 00000000..dbb4fa1a --- /dev/null +++ b/addons/crm_iap_lead/views/mail_templates.xml @@ -0,0 +1,59 @@ +<?xml version="1.0" encoding="utf-8"?> + +<odoo> + <template id="enrich_company" inherit_id="iap_mail.enrich_company"> + <xpath expr="//div[hasclass('o_partner_autocomplete_enrich_info')]" position="inside"> + <t t-if="people_data"> + <div style="font-size:16px; margin: 9px 0;"> + <b>Contacts</b> + </div> + <table style="width:100%; + border-top-style: solid;border-top-color: #eeeeee;border-top-width: 1px; + border-bottom-style: solid;border-bottom-color: #eeeeee;border-bottom-width: 1px; + border-left-style: solid;border-left-color: #eeeeee;border-left-width: 1px; + border-right-style: solid;border-right-color: #eeeeee;border-right-width: 1px;" t-if="people_data"> + <thead> + <tr style="background-color: #eeeeee"> + <th style="padding: 5px; width: 20%;"> + Name + </th> + <th style="padding: 5px; width: 20%;"> + Title + </th> + <th style="padding: 5px; width: 30%;"> + <img style="vertical-align: text-top;" src="web_editor/font_to_img/61664/rgb(102,102,102)/13"/> + Email + </th> + <th style="padding: 5px; width: 30%;"> + <img style="vertical-align: text-top;" src="web_editor/font_to_img/61589/rgb(102,102,102)/13"/> + Phone + </th> + </tr> + </thead> + <tbody> + <t t-foreach="people_data" t-as="people"> + <tr t-att-style="people_odd and 'background-color:#eeeeee' or None"> + <td style="padding: 5px"> + <t t-esc="people['full_name'] or ''"/> + </td> + <td style="padding: 5px"> + <t t-esc="people['title'] or ''"/> + </td> + <td style="padding: 5px"> + <a t-if="people['email']" t-attf-href="mailto:{{people['email']}}" target="_top"> + <t t-esc="people['email']"/> + </a> + </td> + <td style="padding: 5px"> + <a t-if="people['phone']" t-attf-href="tel:{{people['phone']}}"> + <t t-esc="people['phone']"/> + </a> + </td> + </tr> + </t> + </tbody> + </table> + </t> + </xpath> + </template> +</odoo> |
