jof2jc
1
"fieldname":"company",
"label": __("Company"),
"fieldtype": "Link",
"options": "Company",
"default": frappe.defaults.get_user_default("Company"),
"permlevel": 3
Above "permlevel": 3
or "hidden": frappe.user.has_role("Accounts Manager")
not working!
How to achieve this?
rmehta
2
I don’t think perm levels get applied on report filters.
jof2jc
3
"hidden": frappe.user.has_role("Accounts Manager")
not working!
how to hide filter based on certain conditions?
hey , could you help if you solved this.