Update Version after commit on own repository

Hi, I’m new user here using the ERPNext.

I just have my own repository on my Gitlab for my own custom ERPNext. I already did some modification in the repository to match my needed. However, i just seen the notification related to the security issue, and it required me to update the version.

I already done some research and when I try to pull the latest version from the frapper github, it will automatically delete all my work on the previous version. Is there any other way to maintain my work on the version while update the ERPNext version to the latest of v15.

Thank you in advance, really appreciate the reply :slightly_smiling_face:

You are either talking about a cusom app - Create an App
or modifying core code (which i think hooks might work but not sure - maybe someone with experience can comment)

Did you fork ERPNext and then make changes to core files? If so it’s expected merged updates will overwrite your edits.

Please search “why not modify core Frappe Framework files” or “why not modify core ERPNext files”.

You’ll want to make custom apps for your desired modifications or use “customize docType”.