Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
3068 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
3
dec. 22
3273
0
okt. 21
6636
2
sep. 24
10921
1
mrt. 15
8872
2
dec. 24
2060