Hi Guys, Good to see you again!
I tried to remove the one option from the selection field but it's again showing up and the actual code is below
Model Name is hr.leave.type
request_unit = fields.Selection([
('day', 'Day'), ('half_day', 'Half Day'), ('hour', 'Hours')],
default='day', string='Take Time Off in', required=True)
Changed Code
class TrailLeaveTypes(models.Model):
_inherit = 'hr.leave.type'request_unit = fields.Selection([('day', 'Day'), ('half_day', 'Half Day')], default='day', string='Take Time Off in', required=True)




Same problem here in Odoo 15