In the CRM module there is a mobile number field. But it is a char
field I can add alphabetic characters also. I'd prefer it to work with numerals only. So I replaced mobile:fields.char('Mobile',size=20)
with mobile:field.integer('Mobile')
, but I can add up-to 9 digits. Is there any other way to add mobile number with integers only?
We use PostgreSQL,so there is numeric as one datatype, so I also tried mobile:fields.numeric('Mobile',size=10)
it is throwing me an error as:
"datatype not used in module".