Doctype is not create properly

Hi,

Previously doctype was workinging properly.
But now it has creating problem.
When I am creating new doctype then table is create but doctype folder doesn’t create at module.

can u share console log?

Hi @JoEz,

At 7.2.19 frappe version is showing Doctype [doc name] not found during create doctype

Hi @JoEz,

At frappe 7.2.14 version console log

16:13:14 web.1 | 127.0.0.1 - - [20/Mar/2017 16:13:14] “GET /?txt=&doctype=Module+Def&cmd=frappe.desk.search.search_link&=1490003533612 HTTP/1.1" 200 -
16:13:15 web.1 | 127.0.0.1 - - [20/Mar/2017 16:13:15] “POST / HTTP/1.1” 200 -
16:13:15 web.1 | 127.0.0.1 - - [20/Mar/2017 16:13:15] "GET /?txt=a&doctype=Module+Def&cmd=frappe.desk.search.search_link&
=1490003533613 HTTP/1.1” 200 -
16:13:15 web.1 | 127.0.0.1 - - [20/Mar/2017 16:13:15] “GET /?txt=ac&doctype=Module+Def&cmd=frappe.desk.search.search_link&=1490003533614 HTTP/1.1" 200 -
16:13:16 web.1 | 127.0.0.1 - - [20/Mar/2017 16:13:16] "GET /?value=Accounts&options=Module+Def&fetch=&cmd=frappe.desk.form.utils.validate_link&
=1490003533615 HTTP/1.1” 200 -
16:13:31 web.1 | 127.0.0.1 - - [20/Mar/2017 16:13:31] “GET /?txt=&doctype=Role&cmd=frappe.desk.search.search_link&=1490003533616 HTTP/1.1" 200 -
16:13:31 web.1 | 127.0.0.1 - - [20/Mar/2017 16:13:31] "GET /?txt=a&doctype=Role&cmd=frappe.desk.search.search_link&
=1490003533617 HTTP/1.1” 200 -
16:13:32 web.1 | 127.0.0.1 - - [20/Mar/2017 16:13:32] “GET /?txt=ad&doctype=Role&cmd=frappe.desk.search.search_link&=1490003533618 HTTP/1.1" 200 -
16:13:34 web.1 | 127.0.0.1 - - [20/Mar/2017 16:13:34] "GET /?value=Administrator&options=Role&fetch=&cmd=frappe.desk.form.utils.validate_link&
=1490003533619 HTTP/1.1” 200 -
16:13:43 web.1 | 127.0.0.1 - - [20/Mar/2017 16:13:43] “POST / HTTP/1.1” 200 -
16:13:51 web.1 | 127.0.0.1 - - [20/Mar/2017 16:13:51] “POST / HTTP/1.1” 200 -
16:13:51 web.1 | 127.0.0.1 - - [20/Mar/2017 16:13:51] “GET /api/method/frappe.async.can_subscribe_doc?sid=60f53e10ef3658ba683022a0930614bb9e87d5f14e28c1e0c14d34e5&doctype=DocType&docname=test HTTP/1.1” 200 -
16:13:51 web.1 | 127.0.0.1 - - [20/Mar/2017 16:13:51] “GET /api/method/frappe.async.can_subscribe_doc?sid=60f53e10ef3658ba683022a0930614bb9e87d5f14e28c1e0c14d34e5&doctype=DocType&docname=test HTTP/1.1” 200 -
16:13:51 web.1 | 127.0.0.1 - - [20/Mar/2017 16:13:51] “GET /api/method/frappe.async.can_subscribe_doc?sid=60f53e10ef3658ba683022a0930614bb9e87d5f14e28c1e0c14d34e5&doctype=DocType&docname=test HTTP/1.1” 200 -
16:13:57 web.1 | 127.0.0.1 - - [20/Mar/2017 16:13:57] “POST / HTTP/1.1” 200 -
16:13:57 web.1 | 127.0.0.1 - - [20/Mar/2017 16:13:57] “GET /api/method/frappe.async.can_subscribe_doc?sid=60f53e10ef3658ba683022a0930614bb9e87d5f14e28c1e0c14d34e5&doctype=DocType&docname=test HTTP/1.1” 200 -

try bench update

Hi @JoEz,

I can’t update bench, Cause I have modified ERPNext module.
So if I update bench then my modified ERPNext module would not be work

Eh …you need to put customization in an app so that running update you will preserve changes.

Hi, @JoEz,

If I update bench then bench migrate would not be work for my modified ERPNext module. Cause my ERPNext module is made by lowest frappe version and at latest frappe have some extra fields at existing tables;

You need to put your changes in a custom app, that’s the only way to safely upgrade frappe / erpnext.

Hi, @JoEz,

I know that.
If I develop custom app then I need to implement account, HR all module newly.
Is it not time consumed process?

Just customize the needed parts …cant help you other than that …