[REV] Revert code for wrong value in invoiced in fixed price.
bzr revid: bth@tinyerp.com-20130417050900-mri6vhcb1v9i5lya
This commit is contained in:
parent
30b847fbf0
commit
334faeb843
|
@ -268,6 +268,8 @@ class account_analytic_account(osv.osv):
|
|||
GROUP BY account_analytic_line.account_id", (child_ids,))
|
||||
for account_id, sum in cr.fetchall():
|
||||
res[account_id] = round(sum, 2)
|
||||
for acc in self.browse(cr, uid, res.keys(), context=context):
|
||||
res[acc.id] = res[acc.id] - (acc.timesheet_ca_invoiced or 0.0)
|
||||
res_final = res
|
||||
return res_final
|
||||
|
||||
|
|
Loading…
Reference in New Issue