Skip to content

Commit

Permalink
[MIG] website_menu_by_user_status: Migration to 17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
NICO-SOLUTIONS committed Nov 29, 2023
1 parent cd23f22 commit fa9e9cd
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 10 deletions.
10 changes: 6 additions & 4 deletions website_menu_by_user_status/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +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
5. remove default filter to edit website menu line

Known issues / Roadmap
======================
Expand Down Expand Up @@ -80,6 +81,7 @@ Contributors
- Meyomesse Gilles <[email protected]>
- David Dufresne
- Kaushal Prajapati <[email protected]>
- Nils Coenen <[email protected]>

Maintainers
-----------
Expand Down
2 changes: 1 addition & 1 deletion website_menu_by_user_status/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions website_menu_by_user_status/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
- Meyomesse Gilles \<<[email protected]>\>
- David Dufresne
- Kaushal Prajapati \<<[email protected]>\>
- Nils Coenen \<<[email protected]>\>
3 changes: 2 additions & 1 deletion website_menu_by_user_status/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 3 additions & 1 deletion website_menu_by_user_status/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,8 @@ <h1 class="title">Website Menu By User Display</h1>
<h1><a class="toc-backref" href="#toc-entry-1">Usage</a></h1>
<p>To use this module, you need to:</p>
<ol class="arabic simple">
<li>Go to Website &gt; Configuration &gt; Settings &gt; Pages.</li>
<li>Activate developer mode</li>
<li>Go to Website &gt; Configuration &gt; Menus.</li>
<li>Select the page for which you would like to hide the menu.</li>
<li>In the Related Menu Items table, check whether the menu item is
visible for logged/unlogged users.</li>
Expand Down Expand Up @@ -429,6 +430,7 @@ <h2><a class="toc-backref" href="#toc-entry-6">Contributors</a></h2>
<li>Meyomesse Gilles &lt;<a class="reference external" href="mailto:meyomesse.gilles&#64;gmail.com">meyomesse.gilles&#64;gmail.com</a>&gt;</li>
<li>David Dufresne</li>
<li>Kaushal Prajapati &lt;<a class="reference external" href="mailto:kbprajapati&#64;live.com">kbprajapati&#64;live.com</a>&gt;</li>
<li>Nils Coenen &lt;<a class="reference external" href="mailto:nils.coenen&#64;nico-solutions.de">nils.coenen&#64;nico-solutions.de</a>&gt;</li>
</ul>
</div>
<div class="section" id="maintainers">
Expand Down
4 changes: 2 additions & 2 deletions website_menu_by_user_status/tests/test_website_menu.py
Original file line number Diff line number Diff line change
@@ -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()
Expand Down
1 change: 0 additions & 1 deletion website_menu_by_user_status/views/website_menu.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2013-2017 Savoir-faire Linux (<http://www.savoirfairelinux.com>)
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>
Expand Down

0 comments on commit fa9e9cd

Please sign in to comment.