[IMP] hr_expense : Improved the code.

bzr revid: mdi@tinyerp.com-20120713132814-qu531hn061hawh18
This commit is contained in:
Divyesh Makwana (Open ERP)
2012-07-13 18:58:14 +05:30
parent ba225d9d56
commit 9afbde5c97
+1
View File
@@ -183,6 +183,7 @@ class hr_expense_expense(osv.osv):
lines.append((0, False, {
'name': line.name,
'account_id': acc.id,
'account_analytic_id': line.analytic_account.id,
'amount': line.total_amount,
'type': 'dr'
}))