Save modification to DocType to git

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.



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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/b14e8a19-c411-4818-ae4b-50e9e6d7b554%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
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 

:)




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-forum+un…@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.
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)


On 20-Jul-2014, at 9:16 am, Nayar Joolfoo <nj...@gmail.com> wrote:

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 

:)





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-forum+un…@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.



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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/EFF2BA83-3727-4409-BFBC-BDD9C3944E2A%40gmail.com.

    For more options, visit https://groups.google.com/d/optout.
Yeah. I'm trying to learn and do something generic. If i succeed, i'll send a pull-request :)



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. 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.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. 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-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/124af49e-d955-4ddd-8028-6b8f3f2db97a%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.