Is it possible to show the 'year' in date field as drop down like selection or many2one in openerp? . I have a situation that, i need to choose the year only from date field as a drop down.
The question has been closedby
Finally found out the answer:
eg: 'year': fields.selection([(num, str(num)) for num in range(1900, (datetime.now().year)+1 )], 'Year'),