Browse Source

[FIX] minor changes for 9.0 migration

pull/71/head
Atchuthan, Sodexis 8 years ago
parent
commit
ee3640fa8e
  1. 3
      report_qweb_element_page_visibility/README.rst
  2. 22
      report_qweb_element_page_visibility/__init__.py
  3. 26
      report_qweb_element_page_visibility/__openerp__.py
  4. 6
      report_qweb_element_page_visibility/views/layouts.xml

3
report_qweb_element_page_visibility/README.rst

@ -37,7 +37,7 @@ with order's name in every page but last, add this code to external_layout_heade
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot :alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/143/8.0
:target: https://runbot.odoo-community.org/runbot/143/9.0
Bug Tracker Bug Tracker
=========== ===========
@ -60,6 +60,7 @@ Contributors
* Lorenzo Battistini <lorenzo.battistini@agilebg.com> * Lorenzo Battistini <lorenzo.battistini@agilebg.com>
* Alessio Gerace <alessio.gerace@agilebg.com> * Alessio Gerace <alessio.gerace@agilebg.com>
* Alex Comba <alex.comba@agilebg.com> * Alex Comba <alex.comba@agilebg.com>
* Sodexis <dev@sodexis.com>
Maintainer Maintainer
---------- ----------

22
report_qweb_element_page_visibility/__init__.py

@ -1,20 +1,4 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
#########################################################################
# #
# Copyright (C) 2015 Agile Business Group #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU Affero General Public License as #
# published by the Free Software Foundation, either version 3 of the #
# License, or (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU Affero General Public Licensefor more details. #
# #
# You should have received a copy of the #
# GNU Affero General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
#########################################################################
# Copyright 2015 Agile Business Group
# Copyright 2016 Sodexis
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

26
report_qweb_element_page_visibility/__openerp__.py

@ -1,28 +1,12 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
#########################################################################
# #
# Copyright (C) 2015 Agile Business Group #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU Affero General Public License as #
# published by the Free Software Foundation, either version 3 of the #
# License, or (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU Affero General Public Licensefor more details. #
# #
# You should have received a copy of the #
# GNU Affero General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
#########################################################################
# Copyright 2015 Agile Business Group
# Copyright 2016 Sodexis
# 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': '8.0.1.0.0',
'author': 'Agile Business Group, Odoo Community Association (OCA)',
'version': '9.0.1.0.0',
'author': 'Agile Business Group,Sodexis,Odoo Community Association (OCA)',
'category': 'Tools', 'category': 'Tools',
"website": "https://odoo-community.org/", "website": "https://odoo-community.org/",
"license": "AGPL-3", "license": "AGPL-3",

6
report_qweb_element_page_visibility/views/layouts.xml

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<openerp>
<data>
<odoo>
<template id="minimal_layout" inherit_id="report.minimal_layout"> <template id="minimal_layout" inherit_id="report.minimal_layout">
<xpath expr="//t[@t-if='subst is True']" position="replace"> <xpath expr="//t[@t-if='subst is True']" position="replace">
@ -44,5 +43,4 @@
</xpath> </xpath>
</template> </template>
</data>
</openerp>
</odoo>
Loading…
Cancel
Save