Odoo Help


Post Code validation?

Darius Martinkus
on 5/21/15, 12:16 PM 1,009 views

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


Serpent Consulting Services Pvt. Ltd.

--Serpent Consulting Services Pvt. Ltd.--
| 6 6 8
Gandhinagar, India
--Serpent Consulting Services Pvt. Ltd.--

Serpent Consulting Services Pvt. Ltd. Your Odoo/OpenERP Solution, just an email away!

Serpent Consulting Services Pvt. Ltd.
On 10/23/15, 9:38 AM

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

Darius Martinkus
on 10/23/15, 9:42 AM

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

Dr Obx
on 12/4/15, 6:10 AM
Julian Robbins
On 12/4/15, 7:04 AM


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

Dr Obx
on 12/4/15, 10:23 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

3 follower(s)


Asked: 5/21/15, 12:16 PM
Seen: 1009 times
Last updated: 12/4/15, 7:04 AM