i have created a model with a Date and a Datetime field, want to know to set default values:
1) how i can add Day(s) / Week(s) / Month(s) in Date and Datetime field in model to assign a default value?
2) how to add time in Datetime field in model to assign a default value?
right now, i have following default values and if i want by default add 3 days in today's Date how i can ( same for week and month ) and what if i want to add 30min or 1 hour in time ( Datetime field )
appointment_time = fields.Datetime (string='Appointment Time', default=fields.Datetime.now)
booking_date = fields.Date(string='Booking Date', default=fields.Date.context_today)