[ https://issues.apache.org/jira/browse/OFBIZ-4715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13221951#comment-13221951 ]
Markus M. May commented on OFBIZ-4715: -------------------------------------- No problem using the same variable all over ;-) The patch calls now postalAddressHtmlFormatter or postalAddressPdfFormatter in the PartyScreens.xml from Contact.ftl and companyHeader.fo.ftl and ordercontactinfo.ftl as well as quoteReportContactMechs.fo.ftl. A ${setRequestAttribute("postalAddress", toPostalAddress)} is called before the screen is rendered, to set the postalAddress accordingly. The postalAddress.fo.ftl as well as postalAddress.ftl are aggregated into the applications/party/webapp/partymgr/party/contactmechtemplates/ folder. Hope this helps ;-) > Invoice PDF and Contact Information show Region Code instead of Country Code > before the Zip Code > ------------------------------------------------------------------------------------------------ > > Key: OFBIZ-4715 > URL: https://issues.apache.org/jira/browse/OFBIZ-4715 > Project: OFBiz > Issue Type: Bug > Components: party, specialpurpose/ecommerce > Affects Versions: SVN trunk > Reporter: Markus M. May > Assignee: Jacopo Cappellato > Priority: Minor > Fix For: SVN trunk > > Attachments: > OFBIZ-4715-add-locale-for-country-and-remove-countryGeo-if-not-us.patch, > OFBIZ-4715-add-postal-address-formatting-to-fo-ftls.patch, > OFBIZ-4715-central-partymgr-solution.patch, OFBIZ-4715-initial-commit.patch, > OFBIZ-4715-initial-commit.patch > > > The Invoice PDF and the Contact Information in the Party application show the > Region Code instead of the Country Code before the Zip Code. This will be > fine for the US, here in Germany it is rather unusual. > I propose to avoid this by removing the Region Code if the country is > different then US. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira