Using odoo 12, I'm trying to make some custom fields adapted to contain specific values with regular expression Eg: 'NN C NNNNNNN' (N:numeric, C:Character).
I'm trying to make these fields contain some default values (like spaces/- ...) and allow user inputs according to regex.
Just like Key input in picture bellow:
