mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[IMP] report_qweb_parameter: black, isort, prettier
This commit is contained in:
committed by
Francisco Ivan Anton Prieto
parent
c2503756bf
commit
9e94359619
@@ -1,25 +1,40 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<odoo>
|
||||
|
||||
<report
|
||||
id="test_report_length_report_id"
|
||||
model="res.company"
|
||||
string="Length Report"
|
||||
report_type="qweb-html"
|
||||
name="report_qweb_parameter.test_report_length"
|
||||
id="test_report_length_report_id"
|
||||
model="res.company"
|
||||
string="Length Report"
|
||||
report_type="qweb-html"
|
||||
name="report_qweb_parameter.test_report_length"
|
||||
/>
|
||||
|
||||
<template id="test_report_length">
|
||||
<data>
|
||||
<li name="esc_length" t-minlength="10" t-length="10"
|
||||
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"
|
||||
t-raw="docs[0].vat" t-if="docs[0].vat"/>
|
||||
<li name="raw_maxlength" t-maxlength="10"
|
||||
<li
|
||||
name="esc_length"
|
||||
t-minlength="10"
|
||||
t-length="10"
|
||||
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"
|
||||
t-raw="docs[0].vat"
|
||||
t-if="docs[0].vat"
|
||||
/>
|
||||
<li
|
||||
name="raw_maxlength"
|
||||
t-maxlength="10"
|
||||
t-raw="docs[0].company_registry"
|
||||
t-if="docs[0].company_registry"/>
|
||||
t-if="docs[0].company_registry"
|
||||
/>
|
||||
</data>
|
||||
</template>
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user