Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Any module that verify numbers, i.e., employee's citizen ID

by
Bringsvor Consulting AS, Torvald Bringsvor
- 11/02/2021 11:55:10
Hi

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.

-Torvald



tor. 11. feb. 2021 kl. 06:27 skrev Kitti Upariphutthiphong <kittiu@ecosoft.co.th>:
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


_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

Reference