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
|Asked: 9/1/13, 12:31 PM|
|Seen: 2353 times|
|Last updated: 3/16/15, 8:10 AM|