Changing field properties from Python

I know about the usage of cur_frm.set_df_property. Is there a Python equivalent of this function ?

Also, I used frappe.make_property_setter, but it is causing errors to those who do not have create permissions on Property Setter.


Hi @root13F

If you’re doing this at python side then you need to reload the page to see the changes. Better use the frm.set_df_property, even if you want it python side then there is only one method frappe.make_property_setter. Can you share the traceback of an issue you’re facing while using the function frappe.make_property_setter

I face the same problem, any solutions, please?