I have defined a field called 'datetime'.
Here the time should be set to 08:00 by default and date we need to set manually.
How can we do this?
I did something like this, here am setting date and time by default. But unable to set only time.
_defaults = {
'date_start': lambda self,cr,uid,context=None: fields.date.context_today(self,cr,uid,context) + " 02:30:00",
}
Please Suggest
Thanks