[IMP] report_qweb_element_page_visibility: black, isort, prettier

pull/634/head
ps-tubtim 2020-05-20 17:27:23 +07:00 committed by Hai Lang
parent 667c679c27
commit 79628e3edb
2 changed files with 10 additions and 16 deletions

View File

@ -2,18 +2,14 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{ {
'name': 'Report Qweb Element Page Visibility', "name": "Report Qweb Element Page Visibility",
'version': '12.0.1.0.0', "version": "13.0.1.0.0",
'author': 'Agile Business Group, Odoo Community Association (OCA)', "author": "Agile Business Group, Odoo Community Association (OCA)",
'category': 'Tools', "category": "Tools",
'website': 'https://github.com/oca/reporting-engine', "website": "https://github.com/oca/reporting-engine",
'license': 'AGPL-3', "license": "AGPL-3",
'application': False, "application": False,
'installable': True, "installable": True,
'data': [ "data": ["views/layouts.xml"],
'views/layouts.xml', "depends": ["web"],
],
'depends': [
'web',
],
} }

View File

@ -1,5 +1,4 @@
<odoo> <odoo>
<template id="minimal_layout" inherit_id="web.minimal_layout"> <template id="minimal_layout" inherit_id="web.minimal_layout">
<xpath expr="//t[@t-if='subst_needed']" position="replace"> <xpath expr="//t[@t-if='subst_needed']" position="replace">
<t t-if="subst is True"> <t t-if="subst is True">
@ -55,5 +54,4 @@
</t> </t>
</xpath> </xpath>
</template> </template>
</odoo> </odoo>