From 9afbde5c97a4900ac86cb61b53bf4ed77ce078ab Mon Sep 17 00:00:00 2001 From: "Divyesh Makwana (Open ERP)" Date: Fri, 13 Jul 2012 18:58:14 +0530 Subject: [PATCH] [IMP] hr_expense : Improved the code. bzr revid: mdi@tinyerp.com-20120713132814-qu531hn061hawh18 --- addons/hr_expense/hr_expense.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/hr_expense/hr_expense.py b/addons/hr_expense/hr_expense.py index c9fd824471a..fe127f5fb79 100644 --- a/addons/hr_expense/hr_expense.py +++ b/addons/hr_expense/hr_expense.py @@ -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' }))