Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
101 changes: 101 additions & 0 deletions portal_brand/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
============================
Display Brand logo in Portal
============================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:715f82f138bfca90239ec233ea7b61ca819c7001cde2e1d29e9f009c593edf79
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fbrand-lightgray.png?logo=github
:target: https://github.com/OCA/brand/tree/15.0/portal_brand
:alt: OCA/brand
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/brand-15-0/brand-15-0-portal_brand
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/brand&target_branch=15.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

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.

**Table of contents**

.. contents::
:local:

Use Cases / Context
===================



Configuration
=============



Usage
=====

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. 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.

This module does nothing in itself. It depends on other modules to have the brand_id available on the model.
e.g. `account_brand`, `sale_brand`.

Known issues / Roadmap
======================



Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/brand/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`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**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* bosd

Contributors
~~~~~~~~~~~~

* Bosd

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/brand <https://github.com/OCA/brand/tree/15.0/portal_brand>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions portal_brand/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
17 changes: 17 additions & 0 deletions portal_brand/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 2025 bosd
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Display Brand logo in Portal",
"summary": """
Displays the brand logo in the portal.
""",
"license": "AGPL-3",
"author": "Odoo Community Association (OCA), bosd",
"website": "https://github.com/OCA/brand",
"version": "15.0.1.0.0",
"depends": ["mail_brand", "brand"],
"data": [
"views/portal_templates.xml",
],
}
1 change: 1 addition & 0 deletions portal_brand/readme/CONFIGURE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions portal_brand/readme/CONTEXT.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions portal_brand/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* Bosd
Empty file added portal_brand/readme/CREDITS.rst
Empty file.
1 change: 1 addition & 0 deletions portal_brand/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +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.
1 change: 1 addition & 0 deletions portal_brand/readme/ROADMAP.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

6 changes: 6 additions & 0 deletions portal_brand/readme/USAGE.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
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. 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.

This module does nothing in itself. It depends on other modules to have the brand_id available on the model.
e.g. `account_brand`, `sale_brand`.
Binary file added portal_brand/static/description/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading