[FIX] hr_expense: do not not update related field

journal_id is a related field that was set just before
This commit is contained in:
Martin Trigaux
2016-09-02 12:03:40 +02:00
parent fe2c11f397
commit caeff5711b
-1
View File
@@ -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'],