Hello everyone,
i want to custom Core Doctype for example User Doctype, i know i can custom/edit from edit doctype from menu. But its change on local frappe app source code right? That means when I change on my local computer, I can’t bring the changes to another server unless I change it on that server. What I want is when I change it locally, then on my server I just git pull and bench migrate. Is that possible?
Yes, You can customise it from a custom_application. Just create a new app and make all the necessary actions and changes via your custom app. You can keep update the custom app to github.
Hi @whytrno ,
Can you explain a bit about what changes you want to do? If you want to add custom field, you can add it like this.
Add code to a file and run it on the after_install
hook.
Yes, that’s right, I want to add a custom field for the user’s doctype, such as their company data. And if I put it in after_install, what if there is another update? Should I reinstall? Or can I use git pull && bench migrate?
The field will be created in the after install hook in your custom app; you don’t have to manually do anything.
What I mean is, after the installation was successful, I made some more changes.
Where you want to do changes?
can you please explain in detail, what you are trying to say?