[FIX] hr_timesheet_invoice: use product price on invoice even when not forcing
bzr revid: mat@openerp.com-20130724115907-i61nvau0d5jd5jrc
This commit is contained in:
parent
9a688f2464
commit
6365f69b4d
|
@ -247,8 +247,6 @@ class account_analytic_line(osv.osv):
|
|||
ctx = context.copy()
|
||||
ctx.update({'uom': uom})
|
||||
|
||||
# check force product
|
||||
if data.get('product'):
|
||||
price = self._get_invoice_price(cr, uid, account, product_id, user_id, qty, ctx)
|
||||
|
||||
general_account = product.property_account_income or product.categ_id.property_account_income_categ
|
||||
|
|
Loading…
Reference in New Issue