Address formatting

Hi,

Is there a way to change the address formatting?
Preferably by creating several formats which are based on the destination country.
In most, of not all, mainland Europe countries the postal/zip/pin code needs to be in front of the city name.
Sometimes on a new line, sometimes not.

I know it’s possible by changing some of the python code in the files where the address is returned.
But this gives problems if I want to update the code base.

Any thoughts on how to do change this with no changes in the underlying python code?
Or perhaps there’s already such a function, but I just overlooked it.

Thanks,

Wouter



 



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 post to this group, send email to er...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/O2SDe6zVcPkJ.

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

 

 

Currently, it is only possible by changing python code.

But in the near future, we are planning to shift print formats code to server side. At that time, we will try to maintain different address formats. Based on the user selection of formats in the transaction, address will be shown in print formats.

Thanks,
Nabin Hait

On 15 Mar 2013 14:42, "W.Meertens" <wm...@excel.nl> wrote:
Hi,

Is there a way to change the address formatting?
Preferably by creating several formats which are based on the destination country.
In most, of not all, mainland Europe countries the postal/zip/pin code needs to be in front of the city name.
Sometimes on a new line, sometimes not.

I know it's possible by changing some of the python code in the files where the address is returned.
But this gives problems if I want to update the code base.

Any thoughts on how to do change this with no changes in the underlying python code?
Or perhaps there's already such a function, but I just overlooked it.

Thanks,

Wouter






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 post to this group, send email to er…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/O2SDe6zVcPkJ.

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






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 post to this group, send email to er...@googlegroups.com.

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