Unable to find files of newly added doctype

35 views
Skip to first unread message

Rohit Waghchaure

unread,
Apr 20, 2013, 6:22:33 AM4/20/13
to erpnext-dev...@googlegroups.com

 Hello sir,

          I have installed a latest setup of erpnext. I have created a doctype (like church) in newly created module(tracking) with no errors. I want to add some functions in church.py file, for that i go to the folder of module where i saved church document (tracking/doctype/). But it did not show me the files (like church.py,church.js) related to church doctype. So what should i do to add functionality in church doctype.

Thanx & Regards
Rohit

Anand Doshi

unread,
Apr 20, 2013, 6:26:27 AM4/20/13
to erpnext-dev...@googlegroups.com, erpnext-dev...@googlegroups.com
You need to set developer_mode = 1 in conf.py and save the doctype again. It will create the folder and py file. For js file, creat a file of same name as the py file. 

Sent from my phone
--
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
To post to this group, send email to erpnext-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/OM6lTqtRf1cJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply all
Reply to author
Forward
0 new messages