ERPNext Foundation ERPNext Cloud User Manual Blog Discuss Frappé* Donate

Hidding field using script


#1

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

importing
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?

Thanks.


#2

Guys, I am stilling waiting for rescue.


#3

Hello @avaiskhatri,

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


#4

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


#5

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