I want to add few fields in my erpnext application so whoever installs my app those fields should be available and when he uninstalls it fields should be removed how can I achieve this…?
Possible with this Hooks concept.
# python module path
after_install = "app.setup.install.after_install"
before_uninstall = "app.setup.install.before_uninstall"
You can check in HRMS and India compliance. how it works.
1 Like