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'm trying to add a custom selection box, but I am running into an issue with max field length.
In my field setup, I have chosen Field Type:selection and entered...
[('straight_hem','Straight Hem'), ('adjustable_hem','Adjustable Hem'), ('ribbed_hem', 'Ribbed Hem')]
...in the SELECTION OPTIONS, which works.
However if it won't let me add any more options because I'm exceeding the 128 character max limit.
Am I doing this the right way? :)
A short-term workaround would be to use smaller text strings, such as:
[('s','Straight Hem'),('a','Adjustable Hem'),('r','Ribbed Hem')]
That get's you from 100 characters to 64.
Another option to consider is to create a Model for this list and replace the
selection field by a
one2many relation field.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
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: 9/1/13, 12:31 PM|
|Seen: 2418 times|
|Last updated: 3/16/15, 8:10 AM|