[MIG] report_qweb_parameter: Migration to 11.0

This commit is contained in:
Enric Tobella
2017-10-06 12:35:06 +02:00
committed by Francisco Ivan Anton Prieto
parent 3a97510ad0
commit 025c3da28e
10 changed files with 108 additions and 33 deletions

View File

@@ -5,14 +5,14 @@
id="test_report_length_report_id"
model="res.company"
string="Length Report"
report_type="qweb-pdf"
report_type="qweb-html"
name="report_qweb_parameter.test_report_length"
/>
<template id="test_report_length">
<t t-call="report.html_container">
<data>
<li name="esc_length" t-minlength="10" t-length="10"
t-esc="docs[0].fax" t-if="docs[0].fax"/>
t-esc="docs[0].street" t-if="docs[0].street"/>
<li name="esc_maxlength" t-maxlength="10"
t-esc="docs[0].website" t-if="docs[0].website"/>
<li name="raw_length" t-minlength="10" t-length="10"
@@ -20,6 +20,6 @@
<li name="raw_maxlength" t-maxlength="10"
t-raw="docs[0].company_registry"
t-if="docs[0].company_registry"/>
</t>
</data>
</template>
</odoo>