Browse Source

[IMP] report_qweb_element_page_visibility: black, isort, prettier

14.0-report-py3o-pr-506
ps-tubtim 5 years ago
committed by newtratip
parent
commit
2dc7c5a472
  1. 24
      report_qweb_element_page_visibility/__manifest__.py
  2. 2
      report_qweb_element_page_visibility/views/layouts.xml

24
report_qweb_element_page_visibility/__manifest__.py

@ -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',
'version': '12.0.1.0.0',
'author': 'Agile Business Group, Odoo Community Association (OCA)',
'category': 'Tools',
'website': 'https://github.com/oca/reporting-engine',
'license': 'AGPL-3',
'application': False,
'installable': True,
'data': [
'views/layouts.xml',
],
'depends': [
'web',
],
"name": "Report Qweb Element Page Visibility",
"version": "13.0.1.0.0",
"author": "Agile Business Group, Odoo Community Association (OCA)",
"category": "Tools",
"website": "https://github.com/oca/reporting-engine",
"license": "AGPL-3",
"application": False,
"installable": True,
"data": ["views/layouts.xml"],
"depends": ["web"],
} }

2
report_qweb_element_page_visibility/views/layouts.xml

@ -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>
Loading…
Cancel
Save