python function that creates automatically a dropdown year selector (that is a "select" element poulated with all years starting from current and dating back to a given year)?
I don't need day/month (otherwise i'd have used the datepicker), i just need the year!
Thanks in advance
I don't know of any functionality, but it should be easily built using a fields.selection and using a method to fill in the options.
Alternatively, if you are going to use this in the context of fiscal years, you can always access the corresponding object (account.fiscalyear) and display it using a selection widget.
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: 12/10/14, 6:48 AM|
|Seen: 542 times|
|Last updated: 3/16/15, 8:10 AM|