Hidden files are not showing in property setter

In the sales invoice doctype, I removed the hidden field using the property setter (created after installation) and then i uninstall and install the app. Property setter created and it removed after 2 or 3 seconds but it is not deleted. I refer to the deleted document.

def sales_invoice_property_setter():

    prop = make_property_setter(
        "Sales Invoice", "einvoice_section", "hidden", 0, "Check")

I called this function after install
Property setter