[IMP] hr_expense : Improved the code.

bzr revid: mdi@tinyerp.com-20120716112935-idcmrz47p8f0azjk
This commit is contained in:
Divyesh Makwana (Open ERP) 2012-07-16 16:59:35 +05:30
parent 311beb1b20
commit 4e132aa66a
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ class hr_expense_expense(osv.osv):
account_journal = self.pool.get('account.journal')
voucher_obj = self.pool.get('account.voucher')
for exp in self.browse(cr, uid, ids, context=None):
for exp in self.browse(cr, uid, ids, context=context):
company_id = exp.company_id.id
lines = []
total = 0.0