FIX access rights issue
This commit is contained in:
@@ -202,8 +202,9 @@ class HrHolidays(models.Model):
|
|||||||
total_allocated_leaves = fields.Float(
|
total_allocated_leaves = fields.Float(
|
||||||
compute='_compute_current_leaves', string='Total Allocated Leaves',
|
compute='_compute_current_leaves', string='Total Allocated Leaves',
|
||||||
readonly=True)
|
readonly=True)
|
||||||
limit = fields.Boolean(
|
limit = fields.Boolean( # pose des pbs de droits
|
||||||
related='holiday_status_id.limit', string='Allow to Override Limit')
|
related='holiday_status_id.limit', string='Allow to Override Limit',
|
||||||
|
readonly=True)
|
||||||
posted_date = fields.Date(
|
posted_date = fields.Date(
|
||||||
string='Posted Date', track_visibility='onchange')
|
string='Posted Date', track_visibility='onchange')
|
||||||
number_of_days_temp = fields.Float(string="Number of days")
|
number_of_days_temp = fields.Float(string="Number of days")
|
||||||
|
|||||||
Reference in New Issue
Block a user