Browse Source
[FIX] employee_documents_expiry: wrong default id
pull/145/head
abdallamohamedcore
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
employee_documents_expiry/models/employee_documents.py
|
|
@ -90,7 +90,7 @@ class HrEmployee(models.Model): |
|
|
|
Click to Create for New Documents |
|
|
|
</p>'''), |
|
|
|
'limit': 80, |
|
|
|
'context': "{'default_employee_ref': '%s'}" % self.id |
|
|
|
'context': {'default_employee_ref': self.id} |
|
|
|
} |
|
|
|
|
|
|
|
document_count = fields.Integer(compute='_document_count', string='# Documents') |
|
|
|