Replicate version 16 functionlaity into 14

In version 16 we have a e-waybill feature in Stock entry for Material Transfer and Subcontracting, i need to replicate that feature into my version 14 project, how do i approach this development wise, can anyone guide me step by step, like i have added all the new fields in my version 14 stock entry doc, but now how do i approach the code, should i monkey patch the functions, i am confused.

The Stock Entry e-Waybill flow for Material Transfer and Subcontracting is not core ERPNext. It lives in the India Compliance app.

If you stay on v14, plan on a custom app that extends India Compliance and Stock Entry through normal Frappe hooks (doc_events, class overrides, fixtures). Do not monkey-patch core or India Compliance code if not absolutly required. That breaks on every update and is hard to maintain.

Honestly: backporting v16 behaviour to v14 is a lot of work and ongoing pain (every India Compliance / ERPNext change you miss becomes your problem). Unless you are blocked from upgrading for a long time, upgrading to a current ERPNext + India Compliance version is the sensible path.

1 Like