Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
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
122 changes: 122 additions & 0 deletions website_breadcrumb/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,122 @@
===================
Website Breadcrumbs
===================

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

.. |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-LGPL--3-blue.png
:target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
:alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fwebsite-lightgray.png?logo=github
:target: https://github.com/OCA/website/tree/18.0/website_breadcrumb
:alt: OCA/website
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/website-18-0/website-18-0-website_breadcrumb
: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/website&target_branch=18.0
:alt: Try me on Runboat

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

This module allows you to have breadcrumbs in any page of your website.
But if an URL is not present in a menu (as indicated in the
Configuration section), no breadcrumbs will display.

**Table of contents**

.. contents::
:local:

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

To configure the shown breadcrumbs, you need to:

1. Enable developer mode.
2. Go to Website Admin > Configuration > Menus.
3. Remove the website grouping from the filter if it is set.
4. Edit any menu there.

Keep in mind that:

- This module will try to match **exactly** the URL in the menu item
with the one you are browsing.
- If it finds no match, breadcrumbs will not be shown.
- If it finds several matches, only the first one will be used.
- Using more than 1 submenu for the website top menu will probably make
it unusable. In case you need that granularity, you will have to
create a separate top menu for managing your breadcrumbs.
- Breadcrumbs use the menu name, **not the page name**, except for the
top menu item, which will appear as *Home* and point to ``/`` unless
you specify an URL for it.

Usage
=====

To use this module, you need to:

1. Log in.
2. Go to your home page and click on the body of the page.
3. Open the web editor and go to the **Customise** tab.
4. Enable **Breadcrumbs** (it is enabled by default).

- If you want to use this module in a theme but you do not like where
it is rendered, you can simply disable it in the top menu and add in
you own layout a ``<t t-call="website_breadcrumb.breadcrumb"/>``
element.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/website/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/website/issues/new?body=module:%20website_breadcrumb%0Aversion:%2018.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
-------

* Grupo ESOC Ingeniería de Servicios

Contributors
------------

- `Tecnativa <https://www.tecnativa.com>`__:

- Jairo Llopis
- Cristina Martin R.
- Pilar Vargas

- Bjorn Billen <bjorn.billen@dynapps.be>

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/website <https://github.com/OCA/website/tree/18.0/website_breadcrumb>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 3 additions & 0 deletions website_breadcrumb/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).

from . import models
16 changes: 16 additions & 0 deletions website_breadcrumb/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2015 Grupo ESOC Ingeniería de Servicios, S.L.U. - Jairo Llopis
# Copyright 2019 Tecnativa - Cristina Martin R.
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).
{
"name": "Website Breadcrumbs",
"summary": "Let you have breadcrumbs in website pages",
"version": "18.0.1.0.0",
"category": "Website",
"website": "https://github.com/OCA/website",
"author": "Grupo ESOC Ingeniería de Servicios, Odoo Community Association (OCA)",
"license": "LGPL-3",
"application": False,
"installable": True,
"depends": ["website"],
"data": ["views/templates.xml", "views/layout.xml"],
}
30 changes: 30 additions & 0 deletions website_breadcrumb/i18n/ar.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_breadcrumb
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-12-14 03:42+0000\n"
"PO-Revision-Date: 2016-12-14 03:42+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Arabic (https://www.transifex.com/oca/teams/23907/ar/)\n"
"Language: ar\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"

#. module: website_breadcrumb
#: model_terms:ir.ui.view,arch_db:website_breadcrumb.breadcrumb
msgid "Home"
msgstr "المنزل"

#. module: website_breadcrumb
#: model:ir.model,name:website_breadcrumb.model_website_menu
msgid "Website Menu"
msgstr ""
30 changes: 30 additions & 0 deletions website_breadcrumb/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_breadcrumb
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-12-14 03:42+0000\n"
"PO-Revision-Date: 2022-02-28 13:17+0000\n"
"Last-Translator: Noel estudillo <noelestudilloviera@gmail.com>\n"
"Language-Team: Catalan (https://www.transifex.com/oca/teams/23907/ca/)\n"
"Language: ca\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.3.2\n"

#. module: website_breadcrumb
#: model_terms:ir.ui.view,arch_db:website_breadcrumb.breadcrumb
msgid "Home"
msgstr "Inici"

#. module: website_breadcrumb
#: model:ir.model,name:website_breadcrumb.model_website_menu
msgid "Website Menu"
msgstr "Menú del lloc web"
29 changes: 29 additions & 0 deletions website_breadcrumb/i18n/de.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_breadcrumb
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-12-14 03:42+0000\n"
"PO-Revision-Date: 2016-12-14 03:42+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: German (https://www.transifex.com/oca/teams/23907/de/)\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: website_breadcrumb
#: model_terms:ir.ui.view,arch_db:website_breadcrumb.breadcrumb
msgid "Home"
msgstr "Anfangsseite"

#. module: website_breadcrumb
#: model:ir.model,name:website_breadcrumb.model_website_menu
msgid "Website Menu"
msgstr "Webseitenmenü"
29 changes: 29 additions & 0 deletions website_breadcrumb/i18n/el.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_breadcrumb
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-12-14 03:42+0000\n"
"PO-Revision-Date: 2016-12-14 03:42+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Greek (https://www.transifex.com/oca/teams/23907/el/)\n"
"Language: el\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: website_breadcrumb
#: model_terms:ir.ui.view,arch_db:website_breadcrumb.breadcrumb
msgid "Home"
msgstr "Αρχική σελίδα"

#. module: website_breadcrumb
#: model:ir.model,name:website_breadcrumb.model_website_menu
msgid "Website Menu"
msgstr ""
30 changes: 30 additions & 0 deletions website_breadcrumb/i18n/el_GR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_breadcrumb
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-12-14 03:42+0000\n"
"PO-Revision-Date: 2016-12-14 03:42+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/"
"el_GR/)\n"
"Language: el_GR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: website_breadcrumb
#: model_terms:ir.ui.view,arch_db:website_breadcrumb.breadcrumb
msgid "Home"
msgstr "Αρχική σελίδα"

#. module: website_breadcrumb
#: model:ir.model,name:website_breadcrumb.model_website_menu
msgid "Website Menu"
msgstr "Μενού Iστότοπου"
29 changes: 29 additions & 0 deletions website_breadcrumb/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_breadcrumb
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-12-14 03:42+0000\n"
"PO-Revision-Date: 2016-12-14 03:42+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Spanish (https://www.transifex.com/oca/teams/23907/es/)\n"
"Language: es\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: website_breadcrumb
#: model_terms:ir.ui.view,arch_db:website_breadcrumb.breadcrumb
msgid "Home"
msgstr "Inicio"

#. module: website_breadcrumb
#: model:ir.model,name:website_breadcrumb.model_website_menu
msgid "Website Menu"
msgstr "Menú del sitio web"
30 changes: 30 additions & 0 deletions website_breadcrumb/i18n/es_CR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_breadcrumb
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-12-14 03:42+0000\n"
"PO-Revision-Date: 2016-12-14 03:42+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Spanish (Costa Rica) (https://www.transifex.com/oca/"
"teams/23907/es_CR/)\n"
"Language: es_CR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: website_breadcrumb
#: model_terms:ir.ui.view,arch_db:website_breadcrumb.breadcrumb
msgid "Home"
msgstr "Casa"

#. module: website_breadcrumb
#: model:ir.model,name:website_breadcrumb.model_website_menu
msgid "Website Menu"
msgstr ""
30 changes: 30 additions & 0 deletions website_breadcrumb/i18n/es_MX.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_breadcrumb
#
# Translators:
# OCA Transbot <transbot@odoo-community.org>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 9.0c\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2016-12-14 03:42+0000\n"
"PO-Revision-Date: 2016-12-14 03:42+0000\n"
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2016\n"
"Language-Team: Spanish (Mexico) (https://www.transifex.com/oca/teams/23907/"
"es_MX/)\n"
"Language: es_MX\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#. module: website_breadcrumb
#: model_terms:ir.ui.view,arch_db:website_breadcrumb.breadcrumb
msgid "Home"
msgstr "Casa"

#. module: website_breadcrumb
#: model:ir.model,name:website_breadcrumb.model_website_menu
msgid "Website Menu"
msgstr ""
Loading
Loading