跳至內容
選單
此問題已被標幟
1 回覆
3073 瀏覽次數

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.
頭像
捨棄
最佳答案

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:


頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
3
12月 22
3273
0
10月 21
6636
2
9月 24
10924
1
3月 15
8872
2
12月 24
2062