Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
3077 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
3
déc. 22
3280
0
oct. 21
6639
2
sept. 24
10931
1
mars 15
8876
2
déc. 24
2072