Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3075 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
3
dic 22
3278
0
ott 21
6637
2
set 24
10928
1
mar 15
8874
2
dic 24
2065