Want to add a custom script, but can’t find the “.py” files for the doctypes I create. The “Custom?” checkbox is left checked and greyed out.
I am logged in as an administrator and I set the site developer_mode config to 1.
Basicaly I want to create a table as a child (“Reciepe”) of a doctype (“Dishes”). The table should have a data field ( quantity ) and a select field ( raw_material ).
I want to populate the raw_material with var_name field from anothe doctype (“Raw Materials”, which also has their prices, thus allowing me to calculate the cost of each dish).
not before.
now I did: ~/frappe-bench$ bench --site site1.local set-config developer_mode 1 ~/frappe-bench$ bench clear-cache ~/frappe-bench$ bench restrt
still the same…
ther’s this which suggests:
“You also will need to enable the Developer icon in your desktop settings: Desk -> User dropdown list -> Set Desktop Icons -> check "Developer"”
can you tell me if this has anything to do with what I’m trying to achieve?
tried reinstalling, this time did not revert to production at the end of the installation
(left out: sudo bench setup production %user )
still no such success… :-\
I don’t know how or why, but eventually, after the I-don’t-know-how-many-th time I cleared cache, and restarted the bench - it worked!!
thank you for the support!