i need to customize those fields and i cant
You cannot edit property for the standard fieds. Perhaps you should try creating Property Setter for this field directly. P.S. it’s a work-around.
but there is no way to disable that restriction if it selfhost?
If this validation is in the .js, then you might be able to over-write it via Custom Script.
Oh thank you,
But dont know how to do that will try to find out
This code works in my vm
frappe.ui.form.on("Delivery Note", "refresh", function(frm) { frm.set_df_property("po_no", "read_only", frm.doc.__islocal ? 0 : 0); });
it works thanks