forked from Mapan/odoo17e
9 lines
247 B
Python
9 lines
247 B
Python
from odoo import models, fields
|
|
|
|
|
|
class PaidTimeOffAllocation(models.Model):
|
|
_name = 'hr.leave.allocation'
|
|
_inherit = 'hr.leave.allocation'
|
|
|
|
max_leaves_allocated = fields.Float(string='Max Leaves Allocated', default=20, readonly=True)
|