Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0][MIG] website_menu_by_user_status: Migration to 17.0 #1023

Open
wants to merge 19 commits into
base: 17.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 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
95 changes: 95 additions & 0 deletions website_menu_by_user_status/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
============================
Website Menu By User Display
============================

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

.. |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%2Fwebsite-lightgray.png?logo=github
:target: https://github.com/OCA/website/tree/17.0/website_menu_by_user_status
:alt: OCA/website
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/website-17-0/website-17-0-website_menu_by_user_status
: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=17.0
:alt: Try me on Runboat

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

The module manages display website menu entries, depending if the user
is logged or not. The selection of the display status can be chosen
logged and/or not.

**Table of contents**

.. contents::
:local:

Usage
=====

To use this module, you need to:

1. Activate developer mode
2. Go to Website > Configuration > Menus.
3. Select the page for which you would like to hide the menu.
4. In the Related Menu Items table, check whether the menu item is
visible for logged/unlogged users.
5. remove default filter to edit website menu line

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_menu_by_user_status%0Aversion:%2017.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
-------

* Savoir-faire Linux

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

- Bruno Joliveau <[email protected]>
- Jordi Riera <[email protected]>
- Meyomesse Gilles <[email protected]>
- David Dufresne
- Kaushal Prajapati <[email protected]>
- Nils Coenen <[email protected]>

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/17.0/website_menu_by_user_status>`_ 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_menu_by_user_status/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
14 changes: 14 additions & 0 deletions website_menu_by_user_status/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Copyright 2013-2017 Savoir-faire Linux (<http://www.savoirfairelinux.com>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Website Menu By User Display",
"version": "17.0.1.0.0",
"author": "Savoir-faire Linux,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/website",
"license": "AGPL-3",
"category": "Website",
"summary": "Allow to manage the display of website.menus",
"depends": ["website"],
"data": ["views/website_menu.xml"],
"installable": True,
}
65 changes: 65 additions & 0 deletions website_menu_by_user_status/i18n/ca.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_menu_by_user_status
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-02-23 12:45+0000\n"
"Last-Translator: claudiagn <[email protected]>\n"
"Language-Team: none\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_menu_by_user_status
#: model:ir.model.fields,field_description:website_menu_by_user_status.field_website_menu__display_name
msgid "Display Name"
msgstr ""

#. module: website_menu_by_user_status
#: model:ir.model.fields,field_description:website_menu_by_user_status.field_website_menu__id
msgid "ID"
msgstr ""

#. module: website_menu_by_user_status
#: model:ir.model.fields,help:website_menu_by_user_status.field_website_menu__user_logged
msgid ""
"If checked, the menu will be displayed when the user is logged and give "
"access."
msgstr ""
"Si està marcat, el menú es mostrarà quan l'usuari estigui registrat i hi "
"doni accés."

#. module: website_menu_by_user_status
#: model:ir.model.fields,help:website_menu_by_user_status.field_website_menu__user_not_logged
msgid ""
"If checked, the menu will be displayed when the user is not logged and give "
"access."
msgstr ""
"Si està marcat, el menú es mostrarà quan l'usuari no estigui registrat i hi "
"doni accés."

#. module: website_menu_by_user_status
#: model:ir.model.fields,field_description:website_menu_by_user_status.field_website_menu____last_update
msgid "Last Modified on"
msgstr ""

#. module: website_menu_by_user_status
#: model:ir.model.fields,field_description:website_menu_by_user_status.field_website_menu__user_logged
msgid "Visible for logged Users"
msgstr "Visible per als usuaris registrats"

#. module: website_menu_by_user_status
#: model:ir.model.fields,field_description:website_menu_by_user_status.field_website_menu__user_not_logged
msgid "Visible for public Users"
msgstr "Visible per als usuaris públics"

#. module: website_menu_by_user_status
#: model:ir.model,name:website_menu_by_user_status.model_website_menu
msgid "Website Menu"
msgstr "Menú del lloc web"
64 changes: 64 additions & 0 deletions website_menu_by_user_status/i18n/es.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_menu_by_user_status
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2021-02-23 12:45+0000\n"
"Last-Translator: claudiagn <[email protected]>\n"
"Language-Team: none\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"
"X-Generator: Weblate 4.3.2\n"

#. module: website_menu_by_user_status
#: model:ir.model.fields,field_description:website_menu_by_user_status.field_website_menu__display_name
msgid "Display Name"
msgstr ""

#. module: website_menu_by_user_status
#: model:ir.model.fields,field_description:website_menu_by_user_status.field_website_menu__id
msgid "ID"
msgstr ""

#. module: website_menu_by_user_status
#: model:ir.model.fields,help:website_menu_by_user_status.field_website_menu__user_logged
msgid ""
"If checked, the menu will be displayed when the user is logged and give "
"access."
msgstr ""
"Si se marca, el menú se mostrará cuando el usuario inicie sesión y dé acceso."

#. module: website_menu_by_user_status
#: model:ir.model.fields,help:website_menu_by_user_status.field_website_menu__user_not_logged
msgid ""
"If checked, the menu will be displayed when the user is not logged and give "
"access."
msgstr ""
"Si se marca, el menú se mostrará cuando el usuario no esté registrado y no "
"le dé acceso."

#. module: website_menu_by_user_status
#: model:ir.model.fields,field_description:website_menu_by_user_status.field_website_menu____last_update
msgid "Last Modified on"
msgstr ""

#. module: website_menu_by_user_status
#: model:ir.model.fields,field_description:website_menu_by_user_status.field_website_menu__user_logged
msgid "Visible for logged Users"
msgstr "Visible para usuarios registrados"

#. module: website_menu_by_user_status
#: model:ir.model.fields,field_description:website_menu_by_user_status.field_website_menu__user_not_logged
msgid "Visible for public Users"
msgstr "Visible para usuarios públicos"

#. module: website_menu_by_user_status
#: model:ir.model,name:website_menu_by_user_status.model_website_menu
msgid "Website Menu"
msgstr "Menú del sitio web"
65 changes: 65 additions & 0 deletions website_menu_by_user_status/i18n/es_AR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_menu_by_user_status
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2022-09-05 07:07+0000\n"
"Last-Translator: Ignacio Buioli <[email protected]>\n"
"Language-Team: none\n"
"Language: es_AR\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_menu_by_user_status
#: model:ir.model.fields,field_description:website_menu_by_user_status.field_website_menu__display_name
msgid "Display Name"
msgstr "Nombre Mostrado"

#. module: website_menu_by_user_status
#: model:ir.model.fields,field_description:website_menu_by_user_status.field_website_menu__id
msgid "ID"
msgstr "ID"

#. module: website_menu_by_user_status
#: model:ir.model.fields,help:website_menu_by_user_status.field_website_menu__user_logged
msgid ""
"If checked, the menu will be displayed when the user is logged and give "
"access."
msgstr ""
"Si está marcado, el menú se mostrará cuando el usuario inicie sesión y dé "
"acceso."

#. module: website_menu_by_user_status
#: model:ir.model.fields,help:website_menu_by_user_status.field_website_menu__user_not_logged
msgid ""
"If checked, the menu will be displayed when the user is not logged and give "
"access."
msgstr ""
"Si está marcado, el menú se mostrará cuando el usuario no haya iniciado "
"sesión y le dé acceso."

#. module: website_menu_by_user_status
#: model:ir.model.fields,field_description:website_menu_by_user_status.field_website_menu____last_update
msgid "Last Modified on"
msgstr "Última Modificación el"

#. module: website_menu_by_user_status
#: model:ir.model.fields,field_description:website_menu_by_user_status.field_website_menu__user_logged
msgid "Visible for logged Users"
msgstr "Visible para usuarios logeados"

#. module: website_menu_by_user_status
#: model:ir.model.fields,field_description:website_menu_by_user_status.field_website_menu__user_not_logged
msgid "Visible for public Users"
msgstr "Visible para Usuarios públicos"

#. module: website_menu_by_user_status
#: model:ir.model,name:website_menu_by_user_status.model_website_menu
msgid "Website Menu"
msgstr "Menú del Sitio Web"
65 changes: 65 additions & 0 deletions website_menu_by_user_status/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * website_menu_by_user_status
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 14.0\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2022-12-27 17:45+0000\n"
"Last-Translator: mymage <[email protected]>\n"
"Language-Team: none\n"
"Language: it\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.14.1\n"

#. module: website_menu_by_user_status
#: model:ir.model.fields,field_description:website_menu_by_user_status.field_website_menu__display_name
msgid "Display Name"
msgstr "Nome visualizzato"

#. module: website_menu_by_user_status
#: model:ir.model.fields,field_description:website_menu_by_user_status.field_website_menu__id
msgid "ID"
msgstr "ID"

#. module: website_menu_by_user_status
#: model:ir.model.fields,help:website_menu_by_user_status.field_website_menu__user_logged
msgid ""
"If checked, the menu will be displayed when the user is logged and give "
"access."
msgstr ""
"Se selezionato, il menu verrà visualizzato quando l'utente è registrato e "
"concede l'accesso."

#. module: website_menu_by_user_status
#: model:ir.model.fields,help:website_menu_by_user_status.field_website_menu__user_not_logged
msgid ""
"If checked, the menu will be displayed when the user is not logged and give "
"access."
msgstr ""
"Se selezionato, il menu verrà visualizzato quando l'utente non è registrato "
"e concede l'accesso."

#. module: website_menu_by_user_status
#: model:ir.model.fields,field_description:website_menu_by_user_status.field_website_menu____last_update
msgid "Last Modified on"
msgstr "Ultima modifica il"

#. module: website_menu_by_user_status
#: model:ir.model.fields,field_description:website_menu_by_user_status.field_website_menu__user_logged
msgid "Visible for logged Users"
msgstr "Visibile per gli utenti registrati"

#. module: website_menu_by_user_status
#: model:ir.model.fields,field_description:website_menu_by_user_status.field_website_menu__user_not_logged
msgid "Visible for public Users"
msgstr "Visibile agli utenti pubblici"

#. module: website_menu_by_user_status
#: model:ir.model,name:website_menu_by_user_status.model_website_menu
msgid "Website Menu"
msgstr "Menu sito web"
Loading
Loading