Update erpnext keeping customisation

I want to update my local erpnext keeping Customisation made by me .Any link for Step by step instruction?

Make custom apps, and add you custom fields as fixtures



Or better,

Make your customizations generic and send them as contributions, this way you won’t have to maintain them.

1 Like

I love to do so…
but this is my learning stage.
I want to upgrade local setup with new one. but changes made by me should keep remain.
how to achieve this

Unfortunately that is not possible (trivially). You will have to maintain your own fork.

Why not simply create a local branch with your changes on the test server, e.g. (assuming default installation on Debian).

 $ cd /home/frappe/frappe-bench/apps/erpnext
 $ sudo git checkout -b local
 $ sudo git commit -a -m "My learnings"

Make sure all is committed, then update on the master

$ sudo git checkout master
$ sudo git pull

Upgrade to newset version

$ cd /home/frappe/frappe-bench
$ sudo bench migrate

Merge new changes into your local version

$ cd /home/frappe/frappe-bench/apps/erpnext
$ sudo git checkout  local
$ sudo git merge master

Similarly with frappe…

I also would like to know , how to do it, but this link is broken.
Can anyone provide with working step-by-step instructions of such process ?

Found this with a web search How To Create Custom Fields During App Installation

1 Like

Thank you very much!
You are always helping me !