This question has been flagged
3 Replies
2385 Views

hi, why everytime i choose 2014 it will go back to 2015. I USE THIS CODE 'date': fields.date. if im going to click or choose the year that i want to it will not go in the year that i've choose. what code should i use?  it just go to the deafult date. please help me

Avatar
Discard

Hi Louie,, did you clicked on the date after selecting 2014??

Best Answer

'claim_date':fields.date('Claim date:')


Avatar
Discard
Best Answer

in odoo 8

dateofjoin=fields.Datetime(default=datetime.today(),string="Date of joining:")

Avatar
Discard