fix
This commit is contained in:
parent
ef6702d87a
commit
944befebac
|
|
@ -46,6 +46,7 @@ class HrAttendanceTransactions(models.Model):
|
|||
rec.additional_hours = rec.office_hours - rec.plan_hours
|
||||
# rec.carried_hours = rec.office_hours - rec.plan_hours
|
||||
|
||||
@api.depends('employee_id')
|
||||
def get_hours(self):
|
||||
module = self.env['ir.module.module'].sudo()
|
||||
official_mission_module = module.search([('state', '=', 'installed'), ('name', '=', 'exp_official_mission')])
|
||||
|
|
|
|||
Loading…
Reference in New Issue