Leaves stopped auto allocation Mailing
This commit is contained in:
parent
efc7643304
commit
995688ad8e
|
|
@ -80,6 +80,11 @@ class hrTimeoffAllocation(models.Model):
|
||||||
def _process_accrual_plans(self, date_to=False, force_period=False, log=True):
|
def _process_accrual_plans(self, date_to=False, force_period=False, log=True):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
def activity_update(self):
|
||||||
|
for allocation in self:
|
||||||
|
if allocation.allocation_type != 'auto_allocation':
|
||||||
|
super().activity_update()
|
||||||
|
|
||||||
@api.model
|
@api.model
|
||||||
def _update_accrual(self):
|
def _update_accrual(self):
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue