From 7d8a32ea21ca01c1f4a6b205d3cabb07ddd43de3 Mon Sep 17 00:00:00 2001 From: ced <> Date: Thu, 28 Jun 2007 10:41:18 +0000 Subject: [PATCH] HR_EXPENSE: add product to invoice line bzr revid: ced-694708011046145aa92bfbbc06652df12b275a23 --- 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 e15bab6cd6e..a96985b3bf8 100644 --- a/addons/hr_expense/hr_expense.py +++ b/addons/hr_expense/hr_expense.py @@ -133,6 +133,7 @@ class hr_expense_expense(osv.osv): 'price_unit': l.unit_amount, 'quantity': l.unit_quantity, 'uos_id': l.uom_id.id, + 'product_id': l.product_id and l.product_id.id or False, 'invoice_line_tax_id': tax_id and [(6, 0, tax_id)] or False, 'account_analytic_id': l.analytic_account.id, }))