Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
3122 Ansichten

The USPS has specific guidelines for formatting addresses, see https://pe.usps.com/businessmail101?ViewName=DeliveryAddress

The ones I would like Odoo to do are:


  • All capital letters.
  • Two spaces between state and ZIP Code.
Avatar
Verwerfen
Beste Antwort

I don't know of an easy way to add the extra space without customizing the report, but you can capitalize the address with our Automation framework.

1. Navigate to Contacts --> Configuration --> Localization --> Countries.

2. Open the record for the United States and take note of the ID of the record (from the URL)

3. Create a Server Action like this:


When entering an address like this:



You will see it formatted like this:


Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
3
Dez. 22
3314
0
Okt. 21
6660
2
Sept. 24
10981
1
März 15
8900
2
Dez. 24
2135