Browse Source

Merge pull request #64 from savoirfairelinux/7.0-fix_open_invoices_with_currencies

[FIX][7.0] Sum on wrong column
pull/66/head
Pedro M. Baeza 10 years ago
parent
commit
24af62ede9
  1. 4
      account_financial_report_webkit_xls/report/open_invoices_xls.py

4
account_financial_report_webkit_xls/report/open_invoices_xls.py

@ -532,8 +532,8 @@ class open_invoices_xls(report_xls):
credit_partner_total = 'SUM(' + credit_partner_start + \
':' + credit_partner_end + ')'
bal_curr_start = rowcol_to_cell(row_start_partner, start_col + 5)
bal_curr_end = rowcol_to_cell(row_position - 1, start_col + 5)
bal_curr_start = rowcol_to_cell(row_start_partner, start_col + 6)
bal_curr_end = rowcol_to_cell(row_position - 1, start_col + 6)
cumul_balance_curr = 'SUM(' + bal_curr_start + ':' + bal_curr_end + ')'
bal_partner_debit = rowcol_to_cell(row_position, start_col + 3)

Loading…
Cancel
Save