From 37282f32e2cd0512223b1c651bc783fc2a2cb12c Mon Sep 17 00:00:00 2001 From: ced <> Date: Wed, 23 Jan 2008 15:28:40 +0000 Subject: [PATCH] Fix for properties return browse record instead of (id, name) bzr revid: ced-7a725b852123903a774190e1a342491fd4f522f7 --- .../wizard/hr_timesheet_final_invoice_create.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/hr_timesheet_invoice/wizard/hr_timesheet_final_invoice_create.py b/addons/hr_timesheet_invoice/wizard/hr_timesheet_final_invoice_create.py index da10281c5c5..fd5946fa57f 100644 --- a/addons/hr_timesheet_invoice/wizard/hr_timesheet_final_invoice_create.py +++ b/addons/hr_timesheet_invoice/wizard/hr_timesheet_final_invoice_create.py @@ -212,7 +212,7 @@ class final_invoice_create(wizard.interface): 'name': product.name, 'product_id': product_id, 'uos_id': product.uom_id.id, - 'account_id': account_id[0], + 'account_id': account_id, } pool.get('account.invoice.line').create(cr, uid, curr_line) if account.amount_max < amount_total: