[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 2017-09-28 16:12:43 +02:00 committed by Pedro M. Baeza
parent 366add9a32
commit f8dad94c23
2 changed files with 2 additions and 2 deletions

View File

@ -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,"

View File

@ -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