Custom Scripts

If you wish to change any ERPNext form formats, you can do so by using Custom Scripts. For example, if you wish to add a submit button after saving, to a Lead form, you can do so by creating your own script.

Setup > Customization > Custom Script

Custom Script


  1. Custom Script Examples
    1. Custom Script Fetch Values From Master
    2. Date Validation
    3. Generate Item Code Based On Custom Logic
    4. Make Read Only After Saving
    5. Restrict Cancel Rights
    6. Restrict Purpose Of Stock Entry
    7. Restrict User Based On Child Record
    8. Sales Invoice Id Based On Sales Order Id
    9. Update Date Field Based On Value In Other Date Field
    10. Add a Custom Button