تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
4 الردود
4603 أدوات العرض

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

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
يوليو 25
373
7
ديسمبر 20
22659
2
مارس 16
5333
0
فبراير 16
3871