diff --git a/website_menu_by_user_status/README.rst b/website_menu_by_user_status/README.rst index cadb9c2e1f..d5b294c8c7 100644 --- a/website_menu_by_user_status/README.rst +++ b/website_menu_by_user_status/README.rst @@ -42,17 +42,12 @@ Usage To use this module, you need to: -1. Go to Website > Configuration > Settings > Pages. -2. Select the page for which you would like to hide the menu. -3. In the Related Menu Items table, check whether the menu item is +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. -4. 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] +5. remove default filter to edit website menu line Bug Tracker =========== @@ -80,6 +75,7 @@ Contributors - Meyomesse Gilles - David Dufresne - Kaushal Prajapati +- Nils Coenen Maintainers ----------- diff --git a/website_menu_by_user_status/__manifest__.py b/website_menu_by_user_status/__manifest__.py index 514cf2dcd3..91d85cbcce 100644 --- a/website_menu_by_user_status/__manifest__.py +++ b/website_menu_by_user_status/__manifest__.py @@ -2,7 +2,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { "name": "Website Menu By User Display", - "version": "14.0.1.0.0", + "version": "17.0.1.0.0", "author": "Savoir-faire Linux,Odoo Community Association (OCA)", "website": "https://github.com/OCA/website", "license": "AGPL-3", diff --git a/website_menu_by_user_status/readme/CONTRIBUTORS.md b/website_menu_by_user_status/readme/CONTRIBUTORS.md index b850fe6a2d..7b9475db2c 100644 --- a/website_menu_by_user_status/readme/CONTRIBUTORS.md +++ b/website_menu_by_user_status/readme/CONTRIBUTORS.md @@ -3,3 +3,4 @@ - Meyomesse Gilles \<\> - David Dufresne - Kaushal Prajapati \<\> +- Nils Coenen \<\> diff --git a/website_menu_by_user_status/readme/ROADMAP.md b/website_menu_by_user_status/readme/ROADMAP.md deleted file mode 100644 index 852dd27b11..0000000000 --- a/website_menu_by_user_status/readme/ROADMAP.md +++ /dev/null @@ -1,2 +0,0 @@ -- 2 flags will just toggle specific groups automatically \[based on - \] diff --git a/website_menu_by_user_status/readme/USAGE.md b/website_menu_by_user_status/readme/USAGE.md index d64f9b2e4b..5235e5c2f1 100644 --- a/website_menu_by_user_status/readme/USAGE.md +++ b/website_menu_by_user_status/readme/USAGE.md @@ -1,6 +1,7 @@ To use this module, you need to: -1. Go to Website \> Configuration \> Settings \> Pages. +1. Activate developer mode +2. Go to Website \> Configuration \> Menus. 2. Select the page for which you would like to hide the menu. 3. In the Related Menu Items table, check whether the menu item is visible for logged/unlogged users. diff --git a/website_menu_by_user_status/static/description/index.html b/website_menu_by_user_status/static/description/index.html index ea97cbac0e..7228d25599 100644 --- a/website_menu_by_user_status/static/description/index.html +++ b/website_menu_by_user_status/static/description/index.html @@ -377,12 +377,11 @@

Website Menu By User Display

-
-

Known issues / Roadmap

- -
-

Bug Tracker

+

Bug Tracker

Bugs are tracked on GitHub 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 @@ -414,25 +407,26 @@

Bug Tracker

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

-

Credits

+

Credits

-

Authors

+

Authors

  • Savoir-faire Linux
-

Maintainers

+

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose diff --git a/website_menu_by_user_status/tests/test_website_menu.py b/website_menu_by_user_status/tests/test_website_menu.py index f768e59c73..6faafc64bf 100644 --- a/website_menu_by_user_status/tests/test_website_menu.py +++ b/website_menu_by_user_status/tests/test_website_menu.py @@ -1,10 +1,10 @@ # Copyright 2018 David Dufresne # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from odoo.tests import SavepointCase +from odoo.tests import TransactionCase -class TestWebsiteMenu(SavepointCase): +class TestWebsiteMenu(TransactionCase): @classmethod def setUpClass(cls): super().setUpClass() diff --git a/website_menu_by_user_status/views/website_menu.xml b/website_menu_by_user_status/views/website_menu.xml index f96bea3570..ed63288848 100644 --- a/website_menu_by_user_status/views/website_menu.xml +++ b/website_menu_by_user_status/views/website_menu.xml @@ -1,4 +1,3 @@ -