Skip to content
Permalink
Browse files

[FIX] hr_holidays: leave_type_request_unit field was declared twice

  • Loading branch information...
mreficent committed Feb 15, 2019
1 parent e136a8e commit fd87657af169553525450f17f7a2443082ce4d78
Showing with 0 additions and 1 deletion.
  1. +0 −1 addons/hr_holidays/models/hr_leave.py
@@ -114,7 +114,6 @@ def _default_get_request_parameters(self, values):
"hr.leave.type", string="Leave Type", required=True, readonly=True,
states={'draft': [('readonly', False)], 'confirm': [('readonly', False)]},
domain=[('valid', '=', True)])
leave_type_request_unit = fields.Selection(related='holiday_status_id.request_unit', readonly=True)
validation_type = fields.Selection('Validation Type', related='holiday_status_id.validation_type', readonly=False)
# HR data
employee_id = fields.Many2one(

0 comments on commit fd87657

Please sign in to comment.
You can’t perform that action at this time.