[REF] HR_timesheet_invoice : Removed unnecesary code(Courtesy : Anup)

bzr revid: jvo@tinyerp.com-20110421075129-vw7lx4ej4sot8hm7
This commit is contained in:
Jay Vora (OpenERP)
2011-04-21 13:21:29 +05:30
parent cacca76c57
commit d8a6f9b4e2
@@ -95,11 +95,6 @@ class final_invoice_create(osv.osv_memory):
context2 = context.copy()
context2['lang'] = partner.lang
cr.execute("SELECT product_id, to_invoice, sum(unit_amount) " \
"FROM account_analytic_line as line " \
"WHERE account_id = %s " \
"AND to_invoice IS NOT NULL " \
"GROUP BY product_id, to_invoice", (account.id,))
cr.execute("""SELECT
line.product_id,