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: