Skip to content
Snippets Groups Projects
Unverified Commit caeff571 authored by Martin Trigaux's avatar Martin Trigaux
Browse files

[FIX] hr_expense: do not not update related field

journal_id is a related field that was set just before
parent fe2c11f3
No related branches found
No related tags found
No related merge requests found
......@@ -125,7 +125,6 @@ class HrExpense(models.Model):
'date_maturity': line.get('date_maturity'),
'partner_id': partner_id,
'name': line['name'][:64],
'date': self.sheet_id.accounting_date,
'debit': line['price'] > 0 and line['price'],
'credit': line['price'] < 0 and - line['price'],
'account_id': line['account_id'],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment