From e6eb4f31ad4fc2d5009807139e23dadc6b84c9fc Mon Sep 17 00:00:00 2001 From: "Bhumika (OpenERP)" Date: Wed, 7 Mar 2012 16:19:42 +0530 Subject: [PATCH] [Fix] hr_expense: fix the field name bzr revid: sbh@tinyerp.com-20120307104942-r2674ngetk44b0y6 --- addons/hr_expense/hr_expense.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/hr_expense/hr_expense.py b/addons/hr_expense/hr_expense.py index 9910f43e607..93327979bdb 100644 --- a/addons/hr_expense/hr_expense.py +++ b/addons/hr_expense/hr_expense.py @@ -198,7 +198,7 @@ class hr_expense_expense(osv.osv): 'invoice_line': lines, 'currency_id': exp.currency_id.id, 'payment_term': payment_term_id, - 'fiscal_position': exp.employee_id.address_home_id.partner_id.property_account_position.id + 'fiscal_position': exp.employee_id.address_home_id.property_account_position.id } if payment_term_id: to_update = invoice_obj.onchange_payment_term_date_invoice(cr, uid, [], payment_term_id, None)