Merge pull request #1076 from expsa/dev_odex25_accounting

Dev odex25 accounting
This commit is contained in:
mazenmuhamad 2024-09-11 12:15:56 +03:00 committed by GitHub
commit c5037a1447
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ class AccountMove(models.Model):
data = {
'name': _('Expense :%s') % self.employee_id.name,
'date': self.date,
'beneficiary_id': self.address_id.id,
'beneficiary_id': self.employee_id.user_id.partner_id,
'type': 'expense',
'ref': self.name,
'description': self.name,