Merge pull request #3828 from expsa/merge-dev-into-custody

report and custody petty expense
This commit is contained in:
mohammed-alkhazrji 2025-07-08 18:07:12 +03:00 committed by GitHub
commit 480e7c93c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -309,7 +309,7 @@ class EmployeeJournal(models.Model):
department = fields.Many2one('hr.department', string="Department")
department_name = fields.Char(
string='Department Name',
related='department_id.name',
related='department.name',
readonly=True,
store=True,
)