[IMP] hr_government_relations, exp_ticket_request: add accounting approva

This commit is contained in:
Abdurrahman Saber 2025-11-02 15:14:34 +02:00
parent 4267fbc5e6
commit 891bd1bac3
1 changed files with 1 additions and 3 deletions

View File

@ -564,7 +564,6 @@ class HrOfficialMission(models.Model):
def accounting_manager(self):
# self.chick_employee_ids()
self = self.sudo()
self.employee_ids.chick_not_overtime()
self.employee_ids.compute_Training_cost_emp()
self.employee_ids.write({'status': 'approved'})
@ -574,7 +573,7 @@ class HrOfficialMission(models.Model):
def accounting_manager_refused(self):
for rec in self:
rec.sudo().refused()
rec.refused()
# Refuse For The Direct Manager Only
def direct_manager_refused(self):
@ -642,7 +641,6 @@ class HrOfficialMission(models.Model):
def approve(self):
# check if there is dealing with financial
self = self.sudo()
self.employee_ids.chick_not_overtime()
if self.employee_ids and self.mission_type.related_with_financial:
# move amounts to journal entries