I have created a doctype inside the sales module, and I want to add the client side code. According to the manual for each doctype created via UI, I must have a structure of folders and files on disk, but in my case I do not see that this was created for the doctype that I indicated.
I am missing some step to create the folder and the files?
Thank you if anyone helps me.
Cordially
Fernando Sánchez
My situation: I used Binami launch pad on GCP.
I active Developer mode to 1
But doc type directory structure didn’t show up as tutorials assumed.
So I open GCP VM Console (login as admin of VM) and add this commands
sudo chown daemon:daemon -R /opt/bitnami/apps/erpnext/htdocs/frappe-bench
then I reset apache by run
sudo /opt/bitnami/ctlscript.sh restart apache
Doctype directory structure shows up as expected.
Hope you guys can save time from this painful issue
After enabling developer mode on the site, refreshing the web page, and then creating and saving the new DocType (ensuring the Custom field is unchecked), the files will be in apps/myapp/myapp/myapp/doctype - one deeper than expected.
Maybe I am the only one who was confused like this.