CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I am having problem with a numeric field. This field should be numbers only, and 11 in lenth.But it is not mandatory field,and "could" be left empty.
If i set the field as a char, i can set the length and it defaults to empty, but I don't know how to make a constraint to numeric only. If i set the field as int, i can set the length but it defaults to 0, which is not correct as the field is a serial number and 0 is not a correct value(it should be empty). I have made a custom module that inherits from the main module and loads correcty
About This Community
Odoo Training Center
|Asked: 11/13/13, 7:02 AM|
|Seen: 1014 times|
|Last updated: 3/16/15, 8:10 AM|