v 15.0 Third Party 4
Download for v 15.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 128
Technical Name hide_portal_module_by_user
LicenseAGPL-3
Websitehttps://github.com/AxeldelosReyes/odoo_web_modules
You bought this module and need support? Click here!

Hide Portal Module By User

Show / Hide Specific Portal Docs on res.users

IMPORTANT

!! IMPORTANT !!

This module doesnt modify the access rights of the users, it only hides the documents.

This Module will Allow to enter a specific document via URL even when the user does not have the group assigned to it.

REVIEW YOUR USE CASES

Example:

if you dont have the group assigned to it.

  • you can access to the document via URL: /my/orders/6?access_token=0f13c269-0f10-46dc-81f8-4db9682f2267
  • but not to my/orders

PLEASE MAKE A PR IF YOU I MISSED TO WHITELIST A ROUTE URL

Usage

To use this module, you need to:

  1. Install and Configure the Groups and Users
hide_portal_module_by_user 1 hide_portal_module_by_user 2 hide_portal_module_by_user 3 hide_portal_module_by_user 24 hide_portal_module_by_user 24

How it Works

  • At Installation, the module will search for all the views that inherits portal.portal_my_home and create a group based on the URL that its linked to in the anchor tag.
  • Post Installation, the module will detect if a new view is created inheriting the portal home and create the group.
  • We Add a validation at view level to hide the group and a validation when trying to list the portal documents.

Changelog

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.