Hi,
From inside desk I have create a DocType for my app, but I don’t see the doctype reflected in my code, even though my frappe site is running in developer mode.
I would expect to see a doctype folder in my project, but it’s not there:
From console it looks looks fine to me.
The only thing is, that the doctype is not linked to a module. See output 5:
frappe@c31ba804270b:~/frappe-bench/apps$ bench --site frontend consoleApps in this namespace:frappe, erpnext, skovsted
In [1]: frappe.conf.developer_modeOut[1]: 1
In [2]: frappe.get_all(“Module Def”, filters={“module_name”:“Skovsted”}, fields=[“name”,“app_name”])Out[2]: [{‘name’: ‘Skovsted’, ‘app_name’: ‘skovsted’}]
In [4]: dt = frappe.get_doc(“DocType”, “Skovsted DT”)
In [5]: (dt.custom, dt.module, dt.app, dt.owner)Out[5]: (1, ‘Skovsted’, None, ‘info@skovstedconsulting.dk’)
Still in desk it looks like it’s connected.
- List item
When running migration for for site, I get no updates for DocTypes on my app:
frappe@c31ba804270b:~/frappe-bench/apps$ bench --site frontend migrate
Migrating frontend
Updating DocTypes for frappe : [========================================] 100%
Updating DocTypes for erpnext : [========================================] 100%
Updating Dashboard for frappe
Updating Dashboard for erpnext
Updating Dashboard for skovsted
Updating customizations for Address
Updating customizations for Contact
Executingafter_migratehooks…Queued rebuilding of search index for frontend
I hope someone can help me figure this out.
I’m om frappe version 15.95.0
Installed Apps
Frappe Framework: v15.95.0
ERPNext: v15.94.1
Skovsted: v0.0.1 (develop)
BR Kresten



