70 lines
3.7 KiB
XML
70 lines
3.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<template id="fusion_whitelabels_sale_portal" inherit_id="sale.sale_order_portal_template" priority="999">
|
|
<xpath expr="//div[@t-if='sale_order._get_edi_builders()']" position="replace"/>
|
|
<xpath expr="//div[@id='sale_portal_connect_software_modal']" position="replace"/>
|
|
</template>
|
|
|
|
<template id="fusion_whitelabels_sale_report" inherit_id="sale.report_saleorder_document" priority="999">
|
|
<xpath expr="//div[@t-if="any(u._is_portal() for u in doc.partner_id.user_ids) and doc._get_edi_builders()"]" position="replace"/>
|
|
</template>
|
|
|
|
<template id="fusion_whitelabels_purchase_portal" inherit_id="purchase.portal_my_purchase_order" priority="999">
|
|
<xpath expr="//div[@t-if='order._get_edi_builders()']" position="replace"/>
|
|
<xpath expr="//div[@id='portal_connect_software_modal']" position="replace"/>
|
|
</template>
|
|
|
|
<template id="fusion_whitelabels_portal_sidebar" inherit_id="portal.portal_record_sidebar" priority="999">
|
|
<xpath expr="//div[hasclass('d-none','d-lg-block','mt-5','small','text-center','text-muted')]" position="replace"/>
|
|
</template>
|
|
|
|
<template id="fusion_whitelabels_nexa_brand_promotion" inherit_id="web.brand_promotion" priority="999">
|
|
<xpath expr="//div[hasclass('o_brand_promotion')]" position="attributes">
|
|
<attribute name="class" add="d-none" separator=" "/>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="fusion_whitelabels_footer_right_credit" inherit_id="web.frontend_layout" priority="999">
|
|
<xpath expr="//footer[@id='bottom']//div[hasclass('o_footer_copyright')]//t[@t-call='web.brand_promotion']" position="after">
|
|
<div class="o_fusion_nexa_brand_promotion">
|
|
<span class="o_fusion_nexa_brand_label">Designed by</span>
|
|
<a class="o_fusion_nexa_brand_link"
|
|
href="https://nexasystems.ca"
|
|
target="_blank"
|
|
rel="noopener noreferrer">Nexa Systems</a>
|
|
</div>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="fusion_whitelabels_mail_notification_layout"
|
|
inherit_id="mail.mail_notification_layout" priority="999">
|
|
<xpath expr="//div[@t-if='show_footer' and contains(@style, 'color: #555555')]" position="replace">
|
|
<div t-if="show_footer" style="color: #555555; font-size:11px;">
|
|
Designed by <a target="_blank" href="https://nexasystems.ca"
|
|
rel="noopener noreferrer"
|
|
t-att-style="'color: ' + (company.email_secondary_color or '#875A7B') + ';'">Nexa Systems</a>
|
|
<span t-if="show_unfollow" id="mail_unfollow">
|
|
| <a href="/mail/unfollow" style="text-decoration:none; color:#555555;">Unfollow</a>
|
|
</span>
|
|
</div>
|
|
</xpath>
|
|
</template>
|
|
|
|
<template id="fusion_whitelabels_mail_notification_light"
|
|
inherit_id="mail.mail_notification_light" priority="999">
|
|
<xpath expr="//tr[td/span[@id='mail_unfollow']]" position="replace">
|
|
<tr>
|
|
<td align="center" style="min-width: 590px;">
|
|
Designed by <a target="_blank" href="https://nexasystems.ca"
|
|
rel="noopener noreferrer"
|
|
t-att-style="'color: ' + (company.email_secondary_color or '#875A7B') + ';'">Nexa Systems</a>
|
|
<span t-if="show_unfollow" id="mail_unfollow">
|
|
| <a href="/mail/unfollow" style="text-decoration:none; color:#555555;">Unfollow</a>
|
|
</span>
|
|
</td>
|
|
</tr>
|
|
</xpath>
|
|
</template>
|
|
|
|
</odoo>
|