Field is not hiding

I checked to hide naming_series field on quotation doctype, but the fields is showing in the same way

kindly provide the screenshot of your changes then it will be helpful

I think this field is default from frappe and cant be modified

Yup, is default, but i can’t hide in the same way?

@Leonardo_Augusto

Try this on refresh

frappe.ui.form.on("Quotation", {
 refresh:function(frm)
{
frm.toggle_enable("naming_series", false);
 } 
});