Where the custom scripts are saved on the system? Because I verify according to manual on apps/erpnext/erpnext/Stock/Item/item.js but I can’t find the js code.
I’t possible to eliminate the option “Create New Item” in this specific Link field?
Custom Scripts have their own doctype by the same name. To preserve them add Custom Script to your fixtures in hooks.py file in your custom app so that it won’t be overwritten by update.
Later on executing bench export-fixtures in your bench instance i.e. (your folder normally named frappe-bench) all mentioned in fixtures will be exported into a JSON.