Everytime I update erpnext with bench update, I have to use bench update --reset.
And everytime I loose my custom print formats and few other things that I have to set manually.
This is the error I get the error when I do a simple bench update:
Cannot proceed with update: You have local changes in app “erpnext” that are not committed.
so I tried to go in the erpnext folder and do a git stash and got this message:
/home/frappe/frappe-bench/apps/erpnext# git stash
No local changes to save
you should create custom App and store all your Custom Fields and data of Doctype like print formats, Terms & Condition etc in that app. This is the best way to maintain changes done manually in ERP Next.
To do that follow below guide