How to set display depends on the basis of session user role or role profile

Hi @CA_B.C_Chechani,

Please try it.

eval:frappe.user.has_role('Presales User') == 1

OR

eval:frappe.user.has_role('Presales User') != 1

Then reload and check it.

Thanks.

6 Likes