[REV] Revert code for wrong value in invoiced in fixed price.
bzr revid: bth@tinyerp.com-20130417050900-mri6vhcb1v9i5lya
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user