-
-
Notifications
You must be signed in to change notification settings - Fork 696
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by tarteo
- Loading branch information
Showing
21 changed files
with
1,031 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
setup/website_menu_by_user_status/odoo/addons/website_menu_by_user_status
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../website_menu_by_user_status |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import setuptools | ||
|
||
setuptools.setup( | ||
setup_requires=['setuptools-odoo'], | ||
odoo_addon=True, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
============================ | ||
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/16.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-16-0/website-16-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=16.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: | ||
|
||
#. Go to Website > Configuration > Settings > Pages. | ||
#. Select the page for which you would like to hide the menu. | ||
#. In the `Related Menu Items` table, check whether the menu item is visible for logged/unlogged users. | ||
|
||
#. remove default filter to edit website menu line | ||
|
||
Known issues / Roadmap | ||
====================== | ||
|
||
* 2 flags will just toggle specific groups automatically [based on https://github.com/OCA/website/tree/11.0/website_menu_permission] | ||
|
||
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:%2016.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]> | ||
|
||
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/16.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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": "16.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, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
Oops, something went wrong.