From 8d3d5d0459302706a629fd24f350b5131db83dfd Mon Sep 17 00:00:00 2001 From: Nicola Malcontenti Date: Tue, 27 Oct 2015 14:53:06 +0100 Subject: [PATCH 1/4] [ADD] Add Module report_qweb_element_page_visibility --- README.rst | 77 ++++++++++++++++++++++++++++++++++++ __init__.py | 20 ++++++++++ __openerp__.py | 37 +++++++++++++++++ static/description/icon.png | Bin 0 -> 17479 bytes views/layouts.xml | 48 ++++++++++++++++++++++ 5 files changed, 182 insertions(+) create mode 100644 README.rst create mode 100644 __init__.py create mode 100644 __openerp__.py create mode 100644 static/description/icon.png create mode 100644 views/layouts.xml diff --git a/README.rst b/README.rst new file mode 100644 index 00000000..4d8282da --- /dev/null +++ b/README.rst @@ -0,0 +1,77 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +=================================== +Report Qweb Element Page Visibility +=================================== + +This module allows you to use 4 classes in QWEB reports: + +- not-first-page: shows element in every page but first +- not-last-page: shows element in every page but last +- first-page: shows element only on first page +- last-page: shows element only on last page + +Usage +===== + +To use this module, you need to: + +In the QWEB ``ir.ui.views`` used by your report, +you can add an element with css class with any of the classes described above. +For example if you need to improve invoice report header with +invoice's number in every page but first, and sale order report header +with order's name in every page but last, add this code to external_layout_header:: + + +
+ +
+
+ +
+ +
+
+ +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/143/8.0 + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed feedback `here `_. + + +Credits +======= + +Contributors +------------ + +* Nicola Malcontenti +* Lorenzo Battistini +* Alessio Gerace +* Alex Comba + +Maintainer +---------- + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +This module is maintained by the OCA. + +OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use. + +To contribute to this module, please visit http://odoo-community.org. diff --git a/__init__.py b/__init__.py new file mode 100644 index 00000000..c3e52dcb --- /dev/null +++ b/__init__.py @@ -0,0 +1,20 @@ +# -*- 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 . # +# # +######################################################################### diff --git a/__openerp__.py b/__openerp__.py new file mode 100644 index 00000000..b2316761 --- /dev/null +++ b/__openerp__.py @@ -0,0 +1,37 @@ +# -*- 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 . # +# # +######################################################################### + +{ + 'name': 'Report Qweb Element Page Visibility', + 'version': '8.0.1.0.0', + 'author': 'Agile Business Group, Odoo Community Association (OCA)', + 'category': 'Tools', + "website": "https://odoo-community.org/", + "license": "AGPL-3", + "application": False, + "installable": True, + 'data': [ + 'views/layouts.xml', + ], + 'depends': [ + 'report', + ], +} diff --git a/static/description/icon.png b/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..4f946b5db1e82521a704e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hj-#bu5I=Uvag*r zeZT3iLE=v?4cmU59e-zab}#IZ<$uw(!~K_Gpkd-q;X2+&w}O5>(gW`Q&Ret7`GU6G zfxjWZjp6Hdn@+KQc6Rn+t3SGP#lJgzPq-Qi+;{HxCuYIx%te!PPCQ%jD^}4;VO^z4 zdmV6Ba!)zStG#Nc&f1l}w>EpHAiY>~qV|L95$XSc+v4YPYR~vEf5x8kJOBNWldeu+ zzMA-Y&;9)$YtOcbzBzF3$hqyE-wMCiIPj|0|Gu$l!Iq_4*S5Y-Rnxg#dj9b1S)ssv z=7yR-RO8;)t4)3}`6h7PNm7W+mSb@{d2}Qkgr=W7RL=RO$@<1T*N#|-j%-Jn+_VEv@-iFcfTFDhrjkosJBAe`Q%-DrnIv1GK)=+ z`P+A{YxCURgJthP=2xgaH~k^KXix9;eS6OzSA-+P(%TB;vyIr^b4{O@w6 z$L|H-MpQricvd@*Z2KbxSpunHmU7EeWY~x&wB}nl2|;Z|Fw@SPH;{7IUvZ*#82)_jUExUBeb?xnTN$6lEHzpyI&*!6jw-GV7fEfJ-0_h0oM-J@_T z=F=>%fT=O1-@4QH$tlE@emlJ$G{qdNV5MqzpKa5dXRnn5+#h`R@d1XyvHmroo*6g( z-+VQ5tEhyM!QH4&@ro15XJ-7rcs*nf@ED4l-x}8C?f7-JxpexzUqPH2d=JV$>^|z^ zzFy$1==zD;8}8hCEt0Bw?i!OKQ@zL!j|a8;)Of1@)JLySZRGxY%M5tdhH8mxL`h0w zNvc(HQ7VvPFfuSS(KRsBH8Kk^u(UEYu`;&QH88a@Ft8NJG(gdio1c=IR*6M}1w_L; zt6LU84U!-mg7ec#$`gxH85~pclTsBta}(23gHjVyDhp4h+5i + + + + + + + From e411f0c4069fe5c364b3f9ceb70852cc43648a16 Mon Sep 17 00:00:00 2001 From: Sebastien LANGE Date: Wed, 1 Jun 2016 08:04:43 +0200 Subject: [PATCH 2/4] [IMP] Migrate report_qweb_element_page_visibility module to 9.0 --- report_qweb_element_page_visibility/__openerp__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/report_qweb_element_page_visibility/__openerp__.py b/report_qweb_element_page_visibility/__openerp__.py index b2316761..fcbbf3e4 100644 --- a/report_qweb_element_page_visibility/__openerp__.py +++ b/report_qweb_element_page_visibility/__openerp__.py @@ -21,7 +21,7 @@ { 'name': 'Report Qweb Element Page Visibility', - 'version': '8.0.1.0.0', + 'version': '9.0.1.0.0', 'author': 'Agile Business Group, Odoo Community Association (OCA)', 'category': 'Tools', "website": "https://odoo-community.org/", From 41882ce0dd8c2f91564536eea4b4da1442944be4 Mon Sep 17 00:00:00 2001 From: Sebastien LANGE Date: Fri, 2 Sep 2016 20:40:26 +0200 Subject: [PATCH 3/4] [IMP] Change licence header in python files --- .../__init__.py | 21 ++----------------- .../__openerp__.py | 21 ++----------------- 2 files changed, 4 insertions(+), 38 deletions(-) diff --git a/report_qweb_element_page_visibility/__init__.py b/report_qweb_element_page_visibility/__init__.py index c3e52dcb..ad15c9c0 100644 --- a/report_qweb_element_page_visibility/__init__.py +++ b/report_qweb_element_page_visibility/__init__.py @@ -1,20 +1,3 @@ # -*- 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 . # -# # -######################################################################### +# Copyright 2015 Agile Business Group +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). diff --git a/report_qweb_element_page_visibility/__openerp__.py b/report_qweb_element_page_visibility/__openerp__.py index fcbbf3e4..af192ca0 100644 --- a/report_qweb_element_page_visibility/__openerp__.py +++ b/report_qweb_element_page_visibility/__openerp__.py @@ -1,23 +1,6 @@ # -*- 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 . # -# # -######################################################################### +# Copyright 2015 Agile Business Group +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { 'name': 'Report Qweb Element Page Visibility', From 56c8802085fed05fc567706a5eeee96e5718dee3 Mon Sep 17 00:00:00 2001 From: Sebastien LANGE Date: Fri, 2 Sep 2016 20:42:02 +0200 Subject: [PATCH 4/4] [IMP] Replace by and review indentation in xml file --- .../views/layouts.xml | 86 +++++++++---------- 1 file changed, 42 insertions(+), 44 deletions(-) diff --git a/report_qweb_element_page_visibility/views/layouts.xml b/report_qweb_element_page_visibility/views/layouts.xml index a216cccc..1cde96c3 100644 --- a/report_qweb_element_page_visibility/views/layouts.xml +++ b/report_qweb_element_page_visibility/views/layouts.xml @@ -1,48 +1,46 @@ - - + - + + + + - - +