mirror of
https://gitlab.com/sonalarora/tra_backend.git
synced 2025-12-17 18:29:08 +02:00
store the field
This commit is contained in:
@@ -139,7 +139,7 @@ class HrEmployee(models.Model):
|
|||||||
'context': "{'default_employee_ref': %s}" % self.id
|
'context': "{'default_employee_ref': %s}" % self.id
|
||||||
}
|
}
|
||||||
|
|
||||||
document_count = fields.Integer(compute='_document_count', string='# Documents')
|
document_count = fields.Integer(compute='_document_count', string='# Documents',store=True)
|
||||||
|
|
||||||
|
|
||||||
class HrEmployeeAttachment(models.Model):
|
class HrEmployeeAttachment(models.Model):
|
||||||
|
|||||||
Reference in New Issue
Block a user