diff options
| author | ced <> | 2007-06-28 10:41:18 +0000 |
|---|---|---|
| committer | ced <> | 2007-06-28 10:41:18 +0000 |
| commit | 7d8a32ea21ca01c1f4a6b205d3cabb07ddd43de3 (patch) | |
| tree | 19ce795cbcf372c8fa0570f2464e7d723080db6c | |
| parent | ae5bbd49db33cf0853c444aa144242e362a0c512 (diff) | |
HR_EXPENSE: add product to invoice line
bzr revid: ced-694708011046145aa92bfbbc06652df12b275a23
| -rw-r--r-- | addons/hr_expense/hr_expense.py | 1 |
1 files changed, 1 insertions, 0 deletions
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, })) |
