Reputation: 143
I'm trying to show the widget time in the Datetime field, and that this value is stored in the variable hor_ini is currently declared as follows:
hor_ini = fields.Datetime (required = True)
but I do not achieve that when I select the view fields show me for default only the time widget
Any suggestions, is welcome
Upvotes: 0
Views: 2273
Reputation: 1052
Change your date field to float in python.
In xml, add widget="float_time"
Upvotes: 2