I have made changes to standard Doctype (Item) via. Developer mode on my local computer. I would like to copy all those changes to my server. I have discovered that changes to standard doctype are not reflected in .json file. So, I cannot run `bench --migrate.’
I have read on the Forum that changes made to the standard doctype via. web interface isn’t reflected on the json file. So, I don’t think resetting git will work.
@kaflesudip which changes your are making on item master?
If your are adding some options for drop down etc which should update the .json file.
I have done bench use mysite
My sites developer mode is 1
I have added new leave status “pending” in leave application doctype and saved the doctype
The leave application.json was updated as “options”: “Open\nApproved\nRejected\npending”,
Then i use “bench use mysite2”
I checked the leave application “pending” status was not reflected due to i have not yet migrated this site
i have “bench migrate mysite2” and the new leave application status “pending” reflected in current site .
Now if i push this code to server and take updates. sites on server will have new leave status “pending” will be available.
@kaflesudip
1- Check if your docType is exist at the files inside your module folder.
2- if you find the files do as @rmehta told you git reset your repo
3- if you don’t find the files make sure that you didn’t choose “Custom?” checkbox in doctype settings.
Now if you find Custom input is checked, unchecked it then back to step number 1
Finally on your server do bench migrate regarding to your site as @gangadhar_k comment.