This commit is contained in:
gsinghpal
2026-04-29 03:35:33 -04:00
parent 6ac6d24da6
commit a2fe1fcbcc
61 changed files with 4655 additions and 667 deletions

View File

@@ -1,16 +1,16 @@
# -*- coding: utf-8 -*-
{
"name": "Fusion Whitelabels",
"version": "19.0.1.3.0",
"version": "19.0.1.4.3",
"category": "Website",
"summary": "Remove Odoo frontend promotional branding for portal and website pages.",
"summary": "Replace Odoo frontend promotional branding with Nexa Systems whitelabeling.",
"description": """
Fusion Whitelabels
==================
Persistent Odoo 19 whitelabel customizations:
- Removes "Connect with your software" portal promotions.
- Removes global "Powered by Odoo" website/footer promotions.
- Replaces global "Powered by Odoo" website/footer promotions with Nexa Systems credit.
- Removes login-page "Powered by Odoo" footer link.
""",
"author": "Fusion",

View File

@@ -1,3 +1,91 @@
.o-mail-Thread-jumpPresent {
display: none !important;
}
.o_fusion_nexa_brand_promotion {
display: flex;
justify-content: flex-end;
align-items: baseline;
gap: 0.35rem;
width: 100%;
color: inherit;
text-align: right;
opacity: 0.95;
animation: o-fusion-nexa-credit-in 700ms ease-out both;
}
.o_fusion_nexa_brand_label {
white-space: nowrap;
}
.o_fusion_nexa_brand_link {
position: relative;
display: inline-block;
color: #1f6feb;
font-weight: 700;
text-decoration: none !important;
white-space: nowrap;
transition: color 180ms ease, text-shadow 180ms ease;
}
.o_fusion_nexa_brand_link::after {
content: "";
position: absolute;
left: 0;
right: 0;
bottom: -0.16em;
height: 2px;
border-radius: 999px;
background: linear-gradient(90deg, #16a085, #1f6feb, #16a085);
background-size: 200% 100%;
transform: scaleX(0.36);
transform-origin: left center;
opacity: 0.72;
transition: transform 220ms ease, opacity 220ms ease;
animation: o-fusion-nexa-underline-flow 2.8s linear infinite;
}
.o_fusion_nexa_brand_link:hover,
.o_fusion_nexa_brand_link:focus {
color: #1f6feb;
text-decoration: none !important;
text-shadow: 0 0 12px rgba(31, 111, 235, 0.18);
}
.o_fusion_nexa_brand_link:hover::after,
.o_fusion_nexa_brand_link:focus::after {
transform: scaleX(1);
opacity: 1;
}
@keyframes o-fusion-nexa-credit-in {
from {
opacity: 0;
transform: translateY(6px);
}
to {
opacity: 0.95;
transform: translateY(0);
}
}
@keyframes o-fusion-nexa-underline-flow {
from {
background-position: 0 0;
}
to {
background-position: 200% 0;
}
}
@media (prefers-reduced-motion: reduce) {
.o_fusion_nexa_brand_promotion,
.o_fusion_nexa_brand_link::after {
animation: none;
}
.o_fusion_nexa_brand_link,
.o_fusion_nexa_brand_link::after {
transition: none;
}
}

View File

@@ -18,9 +18,23 @@
<xpath expr="//div[hasclass('d-none','d-lg-block','mt-5','small','text-center','text-muted')]" position="replace"/>
</template>
<template id="fusion_whitelabels_hide_brand_promotion" inherit_id="web.brand_promotion" priority="999">
<xpath expr="//div[hasclass('o_brand_promotion')]" position="attributes">
<attribute name="style">display:none !important;</attribute>
<template id="fusion_whitelabels_nexa_brand_promotion" inherit_id="web.brand_promotion" priority="999">
<xpath expr="//div[hasclass('o_brand_promotion')]" position="replace">
<div class="o_brand_promotion d-none"/>
</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="replace">
<div class="text-center col-md small mt-auto mb-0 text-md-end o_fusion_nexa_footer_column">
<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>
</div>
</xpath>
</template>