[MIG]hide_portal_module_by_user
This commit is contained in:
@@ -5,7 +5,7 @@ from odoo.http import request
|
||||
from odoo.addons.portal.controllers.portal import CustomerPortal
|
||||
from werkzeug.exceptions import NotFound
|
||||
|
||||
WHITELISTED_ROUTES = ['/my/home', '/my', '/my/account', '/my/security', '/my/payment_method']
|
||||
WHITELISTED_ROUTES = ['/my/invoices','/my/home', '/my', '/my/account', '/my/security', '/my/payment_method']
|
||||
|
||||
|
||||
class CustomerPortalPolicy(CustomerPortal):
|
||||
|
||||
Reference in New Issue
Block a user