Save modification to DocType to git

29 views
Skip to first unread message

Nayar Joolfoo

unread,
Jul 19, 2014, 11:28:10 PM7/19/14
to erpnext-dev...@googlegroups.com
Hi,

According to this article, ERPNext is developped using ERPNext. I was expecting a workflow like this:-

1. Modify DocTypes in ERPNext panel
2. git commit -a -m 'changed x'
3. git push


However, a new folder is created in ./apps/erpnext/module/doctype only when creating a new DocType. How to make the folder content change when the doctype is modified again.

BTW, I'm trying to implement an auto deduction in salary for government money "stealing" plans.

Nayar Joolfoo

unread,
Jul 19, 2014, 11:46:10 PM7/19/14
to erpnext-dev...@googlegroups.com
Think i got it.

I was going to HR >> Setup >> Deduction Type >> Customize

It would actually customize the form only.

I should have done:

Core >> Documents >> DocType >> Deduction Type 

:)


Rushabh Mehta

unread,
Jul 21, 2014, 1:21:09 AM7/21/14
to erpnext-dev...@googlegroups.com
Don't modify DocTypes because your changes could conflict with a future update. Hence Customize Form.

(and if you necessarily need to do it and its a generic solution, send a pull-request)


--
Note:
 
If you are posting an issue,
1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
 
End of Note
---
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 view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/aba27fb8-a2ec-4e92-ae1f-4805e4295700%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Nayar Joolfoo

unread,
Jul 23, 2014, 11:29:04 AM7/23/14
to erpnext-dev...@googlegroups.com
Yeah. I'm trying to learn and do something generic. If i succeed, i'll send a pull-request :)
Reply all
Reply to author
Forward
0 new messages