Best Practice for Changing Print Format

We want to change the way addresses print from multiple lines to one line for City, State and pincode.

We see that there is a script that does the formatting.  

We planned to create a new print format for say Quotations from a copy of one of the formats.  Then create a custom script to do what we want.  Then replace the script in the format to our custom script.

Is this the best way th achieve this.

John



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/5ff3507c-6070-4325-8a8a-a545d2f63ea2%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
I think we will create an address template format that will be used as a standard - quite a few address related queries in the last few days. Will try and push this later today:

https://github.com/frappe/erpnext/issues/1749




@rushabh_mehta

On 05-Jun-2014, at 9:01 am, John Wellar <jw...@gmail.com> wrote:

We want to change the way addresses print from multiple lines to one line for City, State and pincode.

We see that there is a script that does the formatting.  

We planned to create a new print format for say Quotations from a copy of one of the formats.  Then create a custom script to do what we want.  Then replace the script in the format to our custom script.

Is this the best way th achieve this.

John



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/5ff3507c-6070-4325-8a8a-a545d2f63ea2%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/9B544A38-CD70-4D15-8CCD-6939AA1DA083%40gmail.com.

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