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

Hello odoo community,

I was thinking if there is any example or module that would validate UK Post Codes? Lets say preventing entering invalid postcodes?

Any examples and help would be appreciated

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hello Darius,

Either you can store the postcodes in database table and then can check the postcode from the table or you can integrate any web service which validates the postcode and returns the result.

Hope this will help you.

Ảnh đại diện
Huỷ bỏ
Tác giả

Yep thats what i did long time ago , thanks!:)

Hi DM, looking for thing like that, can you give me an example how to do it ?

Câu trả lời hay nhất

Hi

I did some work documenting a module that credativ in Rugby put together for address handling. I'm not sure if it handles postcodes but it will work with geographical areas that you define very nicely.

Ảnh đại diện
Huỷ bỏ

I just finished an addon for Odoo and I can check is post code actually exist/is valid or already terminated. But still without connection to the streets :( need more data :)

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 25
504
7
thg 12 20
22809
2
thg 3 16
5412
0
thg 2 16
3957