How to see my code edits on the local app?

i installed ERPNext and try to edit it’s code but can’t see my updates on my localhost.

could you help me? please

what is the steps that i should follow to update code and and see my updates after that?

thanks
M.Elmasry



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.

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

     

     
What did you update?


T: @rushabh_mehta

On 25-Jul-2013, at 3:25 PM, me...@vieracom.com wrote:

i installed ERPNext and try to edit it's code but can't see my updates on my localhost.

could you help me? please

what is the steps that i should follow to update code and and see my updates after that?

thanks
M.Elmasry



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.

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

     

     



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.

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

     

     



On Thursday, July 25, 2013 11:55:17 AM UTC+2, me...@vieracom.com wrote:

i installed ERPNext and try to edit it’s code but can’t see my updates on my localhost.

could you help me? please

what is the steps that i should follow to update code and and see my updates after that?

thanks
M.Elmasry

update .py, .js, .html, .txt or whatever in system



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.

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

     

     



update .py, .js, .html, .txt or whatever in system



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.

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

     

     
Please be more specific. If you are not able, please engage an ERPNext partner to help you.


T: @rushabh_mehta

On 25-Jul-2013, at 6:07 PM, me...@vieracom.com wrote:



update .py, .js, .html, .txt or whatever in system



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.

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

     

     



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.

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

     

     

Ok, i 'll explain it more.

i edited file: ~/eprnext/app/buying/purchase_orde/local/purchase_orde.py

i add method: check_modifier(self):

code:

check_modifier(self):
        modifier_statment = sql(“select modified_by
from tabPurchase Order where name = ‘%s’” % self.doc.name)
        owner_statment = sql(“select owner
from tabPurchase Order where name = ‘%s’” % self.doc.name)
        modifier = modifier_statment[0][0]
        owner = owner_statment[0][0]
        if modifier != owner :]:
            msgprint(“Modifier of " + cstr(self.doc.doctype) +” => "+ cstr(self.doc.name) +"not the owner. ")
            raise Exception


no changes happen when i run system…
should i intrperate this file in individual (what i did already…) … and intrperate every .py file i edit

if not please tell me the steps to follow to update system to see my edites.

hope it is clear now



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.

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

     

     
Ok, i 'll explain it more.

i edited file: ~/eprnext/app/buying/purchase_orde/local/purchase_orde.py

i add method: check_modifier(self):

code:
...
check_modifier(self):
        modifier_statment = sql("select modified_by from `tabPurchase Order` where name = '%s'" % self.doc.name)
        owner_statment = sql("select owner from `tabPurchase Order` where name = '%s'" % self.doc.name)
        modifier = modifier_statment[0][0]
        owner = owner_statment[0][0]
        if modifier != owner :]:
            msgprint("Modifier of " + cstr(self.doc.doctype) +" => "+ cstr(self.doc.name) +"not the owner. ")
            raise Exception

...
no changes happen when i run system..
should i interpret this file in individual (what i did already..) ... and interpret every .py file i edit

if not please tell me the steps to follow to update system to see my edites.

hope it is clear now



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.

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

     

     
How did you call "check_modifier" ?


On 28-Jul-2013, at 2:25 PM, me...@vieracom.com wrote:

Ok, i 'll explain it more.

i edited file: ~/eprnext/app/buying/purchase_orde/local/purchase_orde.py

i add method: check_modifier(self):

code:
...
check_modifier(self):
        modifier_statment = sql("select modified_by from `tabPurchase Order` where name = '%s'" % self.doc.name)
        owner_statment = sql("select owner from `tabPurchase Order` where name = '%s'" % self.doc.name)
        modifier = modifier_statment[0][0]
        owner = owner_statment[0][0]
        if modifier != owner :]:
            msgprint("Modifier of " + cstr(self.doc.doctype) +" => "+ cstr(self.doc.name) +"not the owner. ")
            raise Exception

...
no changes happen when i run system..
should i interpret this file in individual (what i did already..) ... and interpret every .py file i edit

if not please tell me the steps to follow to update system to see my edites.

hope it is clear now



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.

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

     

     



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.

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

     

     

self.check_modifier()

in update_status(self, status):

which in the same file

my friend should i interpret the file only to see my edits or there is a way to interpret all project using one command

please help



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.

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

     

     
add:

webnotes.msgprint("test")

and if you get a pop-up when you save.


T: @rushabh_mehta

On 29-Jul-2013, at 1:40 PM, me...@vieracom.com wrote:

self.check_modifier()

in update_status(self, status):

which in the same file

my friend should i interpret the file only to see my edits or there is a way to interpret all project using one command

please help



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.

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

     

     



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.

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