From: Xavier ALT Date: Thu, 28 Feb 2013 18:23:46 +0000 (+0100) Subject: [MERGE] OPW 584776: hr_timesheet_invoice: use right product for invoice taxes when... X-Git-Url: http://git.inspyration.org/?a=commitdiff_plain;h=91bb9a05fdd08f9d3333e7c76adbfcd52ce10598;p=odoo%2Fodoo.git [MERGE] OPW 584776: hr_timesheet_invoice: use right product for invoice taxes when forced for analytic lines to invoice bzr revid: xal@openerp.com-20130228182346-cnrxnrx2p38pjhwy --- 91bb9a05fdd08f9d3333e7c76adbfcd52ce10598 diff --cc addons/hr_timesheet_invoice/wizard/hr_timesheet_invoice_create.py index 134bde8,8d68d08..dc5fd48 --- a/addons/hr_timesheet_invoice/wizard/hr_timesheet_invoice_create.py +++ b/addons/hr_timesheet_invoice/wizard/hr_timesheet_invoice_create.py @@@ -115,6 -115,6 +115,7 @@@ class account_analytic_line(osv.osv) factor_name = product.name else: data['product'] = data['product'][0] ++ product = product_obj.browse(cr, uid, data['product'], context=context2) factor_name = product_obj.name_get(cr, uid, [data['product']], context=context)[0][1] ctx = context.copy()