changes
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
{
|
||||
"name": "Fusion Whitelabels",
|
||||
"version": "19.0.1.4.5",
|
||||
"version": "19.0.1.5.0",
|
||||
"category": "Website",
|
||||
"summary": "Replace Odoo frontend promotional branding with Nexa Systems whitelabeling.",
|
||||
"description": """
|
||||
@@ -12,10 +12,13 @@
|
||||
- Removes "Connect with your software" portal promotions.
|
||||
- Replaces global "Powered by Odoo" website/footer promotions with Nexa Systems credit.
|
||||
- Removes login-page "Powered by Odoo" footer link.
|
||||
- Replaces "Powered by Odoo" footer in transactional email notifications
|
||||
(mail.mail_notification_layout + mail.mail_notification_light) with
|
||||
Nexa Systems credit.
|
||||
""",
|
||||
"author": "Fusion",
|
||||
"license": "LGPL-3",
|
||||
"depends": ["portal", "sale", "purchase", "website", "website_sale"],
|
||||
"depends": ["mail", "portal", "sale", "purchase", "website", "website_sale"],
|
||||
"data": [
|
||||
"views/fusion_whitelabels_templates.xml",
|
||||
],
|
||||
|
||||
@@ -36,4 +36,34 @@
|
||||
</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>
|
||||
|
||||
Reference in New Issue
Block a user