[FIX] CRM : Report for Business opportunities corrected
lp bug: https://launchpad.net/bugs/642095 fixed bzr revid: jvo@tinyerp.com-20100920123236-45pfwtpsr97nmshf
This commit is contained in:
committed by
Jay (OpenERP)
parent
5d53c8bf23
commit
6084e072d6
@@ -83,12 +83,12 @@ class report_custom(report_int):
|
||||
if benefit < minbenef:
|
||||
minbenef = benefit
|
||||
|
||||
tuple = (proba * 100, benefit)
|
||||
tuple_benefit = (proba * 100, benefit)
|
||||
responsible_data.setdefault(userid, [])
|
||||
responsible_data[userid].append(tuple)
|
||||
responsible_data[userid].append(tuple_benefit)
|
||||
|
||||
tuple = (proba * 100, cost, benefit)
|
||||
data.append(tuple)
|
||||
tuple_benefit = (proba * 100, cost, benefit)
|
||||
data.append(tuple_benefit)
|
||||
|
||||
responsible_names[userid] = (row['name'] or '/').replace('/','//')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user