Merge pull request #101 from expsa/fix_hr_bug

fix bug hr
This commit is contained in:
AbuzarExp 2024-07-08 13:56:22 +03:00 committed by GitHub
commit c7045580c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -23,5 +23,5 @@ class ResUsers(models.Model):
res_users_id = fields.Many2one(comodel_name='res.users', string='Users',compute="get_res_users_id",store=True)
def get_res_users_id(self):
for rec in self:
rec.res_users_id = rec.id
for rec in self:
rec.res_users_id = rec.id