Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
4 Vastaukset
4681 Näkymät

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

Avatar
Hylkää
Paras vastaus

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.

Avatar
Hylkää
Tekijä

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 ?

Paras vastaus

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.

Avatar
Hylkää

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

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
heinäk. 25
463
7
jouluk. 20
22777
2
maalisk. 16
5396
0
helmik. 16
3941