feature/odoo18 #2
|
|
@ -80,6 +80,11 @@ class hrTimeoffAllocation(models.Model):
|
|||
def _process_accrual_plans(self, date_to=False, force_period=False, log=True):
|
||||
pass
|
||||
|
||||
def activity_update(self):
|
||||
for allocation in self:
|
||||
if allocation.allocation_type != 'auto_allocation':
|
||||
super().activity_update()
|
||||
|
||||
@api.model
|
||||
def _update_accrual(self):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Reference in New Issue