FIX access rights issue

This commit is contained in:
Alexis de Lattre
2015-06-29 16:25:57 +02:00
parent b2a7741fd3
commit db690e77ea

View File

@@ -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")