report updated
This commit is contained in:
parent
9d050f312a
commit
111822605a
|
@ -233,9 +233,9 @@ class ProjectRevenueCustomReport(models.Model):
|
|||
hourly_rate = 0
|
||||
actual_cost = 0
|
||||
try:
|
||||
if 'pro_hourly_rate' in line:
|
||||
actual_cost = line['actual_cost']
|
||||
if 'actual_cost' in line:
|
||||
actual_cost = line['actual_cost']
|
||||
if 'pro_hourly_rate' in line:
|
||||
hourly_rate = line['pro_hourly_rate']
|
||||
if 'unit_amount' in line and 'pro_hourly_rate' in line: # and 'id' in line
|
||||
if hourly_rate != 0:
|
||||
|
|
Loading…
Reference in New Issue