Browse Source

[FIX] forgotten print statements

pull/7/merge
Nicolas Bessi 11 years ago
parent
commit
e61737b7b3
  1. 2
      account_financial_report_webkit/report/aged_partner_balance.py

2
account_financial_report_webkit/report/aged_partner_balance.py

@ -228,7 +228,6 @@ class AccountAgedTrialBalanceWebkit(PartnersOpenInvoicesWebkit):
aged_ranges = [x.get('aged_lines', {}) for x in aged_lines] aged_ranges = [x.get('aged_lines', {}) for x in aged_lines]
for drange in RANGES: for drange in RANGES:
totals[drange] = sum(x.get(drange, 0.0) for x in aged_ranges) totals[drange] = sum(x.get(drange, 0.0) for x in aged_ranges)
print totals
return totals return totals
def compute_percents(self, totals): def compute_percents(self, totals):
@ -236,7 +235,6 @@ class AccountAgedTrialBalanceWebkit(PartnersOpenInvoicesWebkit):
base = float(totals['balance']) or 1.0 base = float(totals['balance']) or 1.0
for drange in RANGES: for drange in RANGES:
percents[drange] = (float(totals[drange]) / base) * 100.0 percents[drange] = (float(totals[drange]) / base) * 100.0
print percents
return percents return percents
def get_reconcile_count_lookup(self, lines): def get_reconcile_count_lookup(self, lines):

Loading…
Cancel
Save