Customising a doctype like stock ledger entry

Hi @lmahdy1:

It’s depends on how deep your desired customization is …

  1. Customize your form
    Customizing DocTypes

  2. Check server and client script funcionality.
    Server Script
    Client Script

  3. Not enough? … try to override/extend controller methods.
    https://www.youtube.com/watch?v=Pe94Z_VQpMo
    https://www.youtube.com/watch?v=4uHY1C1FT4I

Anyway, stock ledger entry is a really deep component of ERPNext stock & warehouse logic, so changing the behavior (without kill the kittie!) could be a little bit challenging.

Hope this helps.

1 Like