Community mailing list archives
RE: Website - Check if user has backend/employee priviledgesby
You can check it if user has a portal/public or not, if portal/public it means it should not have backend access.
Expert in Finance, Information System & Business Intelligence
Odoo Silver Partner
Tel. 13670137019 (China - Shenzhen)
From: MGinshe [mailto:firstname.lastname@example.org]
Sent: Friday, March 25, 2016 10:23 AM
To: Community <email@example.com>
Subject: Website - Check if user has backend/employee priviledges
Is it possible to determine if the currently logged in user has backend access?
I'm building a website with custom navbar, which needs to be offset slightly to make room for the Odoo backend menubar. Is there a way to do this from within a theme module (preferably using a qweb <t t-if> statement).