Browse Source

[FIX] check if the line have an amount currency instead of the linked account currency

pull/159/head
vrenaville 8 years ago
parent
commit
abd682a1d1
  1. 2
      account_financial_report_webkit_xls/report/open_invoices_xls.py

2
account_financial_report_webkit_xls/report/open_invoices_xls.py

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

Loading…
Cancel
Save