Browse Source

[FIX] account_financial_report_webkit: General Ledger, HTML escaping (#342)

* [FIX] account_financial_report_webkit: General Ledger, we have to escape the HTML characters when printing the label (e.g. '<' and '>' characters mess up the report layout)
pull/328/merge
Sébastien Alix 7 years ago
committed by Pedro M. Baeza
parent
commit
f8dad94c23
  1. 2
      account_financial_report_webkit/__openerp__.py
  2. 2
      account_financial_report_webkit/report/templates/account_report_general_ledger.mako

2
account_financial_report_webkit/__openerp__.py

@ -20,7 +20,7 @@
############################################################################## ##############################################################################
{ {
'name': 'Financial Reports - Webkit', 'name': 'Financial Reports - Webkit',
'version': '8.0.1.2.0',
'version': '8.0.1.2.1',
'author': ( 'author': (
"Camptocamp," "Camptocamp,"
"Savoir-faire Linux," "Savoir-faire Linux,"

2
account_financial_report_webkit/report/templates/account_report_general_ledger.mako

@ -195,7 +195,7 @@
## move reference ## move reference
<div class="act_as_cell">${line.get('lref') or ''}</div> <div class="act_as_cell">${line.get('lref') or ''}</div>
## label ## label
<div class="act_as_cell">${label}</div>
<div class="act_as_cell">${label | h}</div>
## counterpart ## counterpart
<div class="act_as_cell">${line.get('counterparts') or ''}</div> <div class="act_as_cell">${line.get('counterparts') or ''}</div>
## debit ## debit

Loading…
Cancel
Save