Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4 ตอบกลับ
4656 มุมมอง

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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.

อวตาร
ละทิ้ง
ผู้เขียน

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 ?

คำตอบที่ดีที่สุด

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.

อวตาร
ละทิ้ง

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 :)

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.ค. 25
430
Need to validate mobile number field? แก้ไขแล้ว
7
ธ.ค. 20
22751
2
มี.ค. 16
5382
0
ก.พ. 16
3922