Hello,
I am working with a piece of JS code which states:
if (session.is_system) {
From what I can gather this only returns True when they have admin rights to settings.
I would like it to only run when they are an internal user.
In Python it would be something like this:
user.has_group('base.group_user'):
How would I replicate this in Odoo?
Thanks,