Skip to content

Commit c172c0e

Browse files
committed
portal_brand
1 parent a036367 commit c172c0e

File tree

14 files changed

+595
-0
lines changed

14 files changed

+595
-0
lines changed

portal_brand/README.rst

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
============================
2+
Display Brand logo in Portal
3+
============================
4+
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:715f82f138bfca90239ec233ea7b61ca819c7001cde2e1d29e9f009c593edf79
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12+
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Beta
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18+
:alt: License: AGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fbrand-lightgray.png?logo=github
20+
:target: https://github.com/OCA/brand/tree/15.0/portal_brand
21+
:alt: OCA/brand
22+
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
23+
:target: https://translation.odoo-community.org/projects/brand-15-0/brand-15-0-portal_brand
24+
:alt: Translate me on Weblate
25+
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
26+
:target: https://runboat.odoo-community.org/builds?repo=OCA/brand&target_branch=15.0
27+
:alt: Try me on Runboat
28+
29+
|badge1| |badge2| |badge3| |badge4| |badge5|
30+
31+
This module, `portal_brand`, customizes the Odoo portal layout to display brand-specific logos. It modifies the default logo URL in the portal header to use a custom controller, allowing the display of a logo associated with the brand, if available, instead of the default company logo. This enhancement provides a more branded experience for users accessing the portal.
32+
33+
**Table of contents**
34+
35+
.. contents::
36+
:local:
37+
38+
Use Cases / Context
39+
===================
40+
41+
42+
43+
Configuration
44+
=============
45+
46+
47+
48+
Usage
49+
=====
50+
51+
1. Configure Brand Logos: Ensure that you have configured brand logos in your system. This usually involves setting a logo on the brand records within Odoo.
52+
53+
2. Access the Portal: When users access the Odoo portal, the header logo will dynamically change. If a brand logo is set, it will be displayed. If no brand logo is set, the default company logo will be shown.
54+
55+
This module does nothing in itself. It depends on other modules to have the brand_id available on the model.
56+
e.g. `account_brand`, `sale_brand`.
57+
58+
Known issues / Roadmap
59+
======================
60+
61+
62+
63+
Bug Tracker
64+
===========
65+
66+
Bugs are tracked on `GitHub Issues <https://github.com/OCA/brand/issues>`_.
67+
In case of trouble, please check there if your issue has already been reported.
68+
If you spotted it first, help us to smash it by providing a detailed and welcomed
69+
`feedback <https://github.com/OCA/brand/issues/new?body=module:%20portal_brand%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
70+
71+
Do not contact contributors directly about support or help with technical issues.
72+
73+
Credits
74+
=======
75+
76+
Authors
77+
~~~~~~~
78+
79+
* bosd
80+
81+
Contributors
82+
~~~~~~~~~~~~
83+
84+
* Bosd
85+
86+
Maintainers
87+
~~~~~~~~~~~
88+
89+
This module is maintained by the OCA.
90+
91+
.. image:: https://odoo-community.org/logo.png
92+
:alt: Odoo Community Association
93+
:target: https://odoo-community.org
94+
95+
OCA, or the Odoo Community Association, is a nonprofit organization whose
96+
mission is to support the collaborative development of Odoo features and
97+
promote its widespread use.
98+
99+
This module is part of the `OCA/brand <https://github.com/OCA/brand/tree/15.0/portal_brand>`_ project on GitHub.
100+
101+
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

portal_brand/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import models

portal_brand/__manifest__.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Copyright 2025 bosd
2+
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
3+
4+
{
5+
"name": "Display Brand logo in Portal",
6+
"summary": """
7+
Displays the brand logo in the portal.
8+
""",
9+
"license": "AGPL-3",
10+
"author": "Odoo Community Association (OCA), bosd",
11+
"website": "https://github.com/OCA/brand",
12+
"version": "15.0.1.0.0",
13+
"depends": ["mail_brand", "brand"],
14+
"data": [
15+
"views/portal_templates.xml",
16+
],
17+
}

portal_brand/readme/CONFIGURE.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

portal_brand/readme/CONTEXT.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* Bosd

portal_brand/readme/CREDITS.rst

Whitespace-only changes.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This module, `portal_brand`, customizes the Odoo portal layout to display brand-specific logos. It modifies the default logo URL in the portal header to use a custom controller, allowing the display of a logo associated with the brand, if available, instead of the default company logo. This enhancement provides a more branded experience for users accessing the portal.

portal_brand/readme/ROADMAP.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

portal_brand/readme/USAGE.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
1. Configure Brand Logos: Ensure that you have configured brand logos in your system. This usually involves setting a logo on the brand records within Odoo.
2+
3+
2. Access the Portal: When users access the Odoo portal, the header logo will dynamically change. If a brand logo is set, it will be displayed. If no brand logo is set, the default company logo will be shown.
4+
5+
This module does nothing in itself. It depends on other modules to have the brand_id available on the model.
6+
e.g. `account_brand`, `sale_brand`.

0 commit comments

Comments
 (0)