Best practice for customising existing erpnext module

Hi Dev,

I wish to say customise POS module. i.e extend and enhance existing ERPNext function. What are the options

  1. Custom application - i think it is more suited where it is altogether a different functionality which is not existing erpnext stuff. ex some connector
  2. Use customise form / script of erpnext - I think it is not a neat solution as your custom code is now part of erpnext. i.e. you cannot selectively upgrade erpnext vs a vs your custom erp code.
    Any suggestions? thanks

Neither!!

You should directly fix the code and send a pull request, that is the only guaranteed way so that your changes are always upgrade proof.

1 Like