Contributors mailing list archives
Re: Any module that verify numbers, i.e., employee's citizen IDby
Bringsvor Consulting AS, Torvald Bringsvor
I made a module a couple of years ago for this requirement:
This validates the number entered to the rules for the Norwegian number (modulo 10) checksum) AFAIK.
But you are right, this is a common requirement for many countries.
tor. 11. feb. 2021 kl. 06:27 skrev Kitti Upariphutthiphong <email@example.com>:
Dear community,I have a requirement to validate hr.employee's citizen ID format in my country, but I think it would be nicer if we can just extend some base modules to be more generic.So far, I found this, https://github.com/OCA/partner-contact/tree/13.0/partner_identification, which can verify numbers but onlty to res.partner.Are the more generic base module to be used with other models yet, (or at least for hr.employee)Thank you,Kitti
Ecosoft Co. Ltd., Kitti Upariphutthiphong