How can I remove the odoo default toolbar for public users? I mean I don't want any user (except for admin) after login to see the top blue bar which has options of discuss, employees etc..
Please refer the following image :
After research of 3 days, I was able to achieve this. Anyone who wants to do this may add the following code in your view.
<template id="credirect.remove_header" inherit_id="website.user_navbar" name="Remove Header">
<xpath expr="//nav[@id='oe_main_menu_navbar']" position="attributes">
<attribute name="groups">base.group_erp_manager</attribute>
</xpath>
</template>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With