Files
enterprise-addons/l10n_be_hr_payroll/models/hr_leave_allocation.py
T

8 lines
209 B
Python

from odoo import models, fields
class HrLeaveAllocation(models.Model):
_inherit = 'hr.leave.allocation'
max_leaves_allocated = fields.Float(string='Max Leaves Allocated', default=20, readonly=True)