Hidding field using script

I have written a script inside regional docType, and am able to create new custom fields using create_custom_fields after

from frappe.custom.doctype.custom_field.custom_field import create_custom_fields

Now I would like to hide some fields using the same script,

anyone there who can help me?


Guys, I am stilling waiting for rescue.

Hello @avaiskhatri,

If you want to hide any fields especially if you are modifying the core doctype. You can refer this one.

@iRaySpace can you explain why run_method is being triggered here?

Hello @avaiskhatri,
I have a different case. You don’t have to use the run_method().