Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
3114 Lượt xem

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.
Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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:


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 12 22
3309
0
thg 10 21
6652
2
thg 9 24
10971
1
thg 3 15
8893
2
thg 12 24
2105