Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
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
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 11/13/13, 7:02 AM|
|Seen: 1218 times|
|Last updated: 3/16/15, 8:10 AM|