Browse Source

Merge pull request #159 from vrenaville/xsl_currency_sum

[FIX] check if the line have an amount currency instead of the linked…
pull/162/head
Pedro M. Baeza 9 years ago
parent
commit
77c73bd8b2
  1. 2
      account_financial_report_webkit_xls/report/open_invoices_xls.py

2
account_financial_report_webkit_xls/report/open_invoices_xls.py

@ -356,7 +356,7 @@ class open_invoices_xls(report_xls):
cumul_balance, style_line_decimal)]
if _p.amount_currency(data):
if account.currency_id:
if line.get('currency_code'):
c_specs += [
('curramount', 1, 0, 'number',
line.get('amount_currency') or 0.0, None,

Loading…
Cancel
Save