From 640769ecfc8432391cc88eb4823e1051dc551f9b Mon Sep 17 00:00:00 2001 From: Holger Brunn Date: Tue, 16 Dec 2014 13:41:22 +0100 Subject: [PATCH 01/17] [ADD] web_sheet_full_width --- web_sheet_full_width/__init__.py | 20 +++++++ web_sheet_full_width/__openerp__.py | 51 ++++++++++++++++++ .../static/description/icon.png | Bin 0 -> 411 bytes .../static/src/css/web_sheet_full_width.css | 8 +++ web_sheet_full_width/view/qweb.xml | 10 ++++ 5 files changed, 89 insertions(+) create mode 100644 web_sheet_full_width/__init__.py create mode 100644 web_sheet_full_width/__openerp__.py create mode 100644 web_sheet_full_width/static/description/icon.png create mode 100644 web_sheet_full_width/static/src/css/web_sheet_full_width.css create mode 100644 web_sheet_full_width/view/qweb.xml diff --git a/web_sheet_full_width/__init__.py b/web_sheet_full_width/__init__.py new file mode 100644 index 000000000..9dd152f93 --- /dev/null +++ b/web_sheet_full_width/__init__.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# This module copyright (C) 2014 Therp BV (). +# +# 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 License for 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/web_sheet_full_width/__openerp__.py b/web_sheet_full_width/__openerp__.py new file mode 100644 index 000000000..6411ac7b1 --- /dev/null +++ b/web_sheet_full_width/__openerp__.py @@ -0,0 +1,51 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# This module copyright (C) 2014 Therp BV (). +# +# 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 License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################## +{ + "name": "Show sheets with full width", + "version": "1.0", + "author": "Therp BV", + "license": "AGPL-3", + "summary": "Use the whole available screen width when displaying sheets", + "description": """ +Description +----------- +This addon displays sheets making use of the whole screen, thereby avoiding +to narrow columns in ie. sale orders or purchase orders. + + +Acknowledgements +---------------- +Icon courtesy of http://www.picol.org/ (size_width.svg) + """, + "category": "Tools", + "depends": [ + 'web', + ], + "data": [ + "view/qweb.xml", + ], + "auto_install": False, + "installable": True, + "application": False, + "external_dependencies": { + 'python': [], + }, +} diff --git a/web_sheet_full_width/static/description/icon.png b/web_sheet_full_width/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..18295d8f03c33f256c3b623ae040b5b7bdcbba54 GIT binary patch literal 411 zcmeAS@N?(olHy`uVBq!ia0vp^0U*r51|<6gKdl8)Y)RhkE)4%caKYZ?lYt_f1s;*b zKpodXn9)gNb_Gz7y~NYkmHi%%0FMTT_S8*t85kHfJY5_^DsH{KwUO_T0gr3o(2^9Rx&9%xgdbZ{_ewn^XmUpuI|uL&foEYhmk{};Yw)b zXQ7p|Ux({You>O*|3j9-0W0B+HoRRd7OWd{*j$-QTy?CQm6&!ZynE=%Ce!tUPv7c+ zz!ConNd|w#y2GcLZnRdg=nE$ZKMLHl__{sgyuH_MR$OGTR}x#!yqNKwlGyRXN=*9{ z#GW@VVhR(C6c^n2>2ypvzx7kjoP9af3z%;7Kkt;_y|7Pq4a2v`Tb0s&X{E1a7CBJ2 zXK{xl!`n9kzC0O=k7YPHNZWb{GtRoM;meS5@34u%g0oV~85wiGIqzopr06`>{q5uE@ literal 0 HcmV?d00001 diff --git a/web_sheet_full_width/static/src/css/web_sheet_full_width.css b/web_sheet_full_width/static/src/css/web_sheet_full_width.css new file mode 100644 index 000000000..671094c42 --- /dev/null +++ b/web_sheet_full_width/static/src/css/web_sheet_full_width.css @@ -0,0 +1,8 @@ +.openerp .oe_form_sheet_width +{ + max-width: none; +} +.openerp .oe_form_sheetbg +{ + padding: 16px; +} diff --git a/web_sheet_full_width/view/qweb.xml b/web_sheet_full_width/view/qweb.xml new file mode 100644 index 000000000..5485c9187 --- /dev/null +++ b/web_sheet_full_width/view/qweb.xml @@ -0,0 +1,10 @@ + + + + + + From 4875457138a3699a26a969eda223f16e06e563a4 Mon Sep 17 00:00:00 2001 From: Nicolas JEUDY Date: Thu, 1 Jan 2015 21:33:08 +0100 Subject: [PATCH 02/17] new:[web_sheet_full_width] give openchatter full width too. --- .../static/src/css/web_sheet_full_width.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/web_sheet_full_width/static/src/css/web_sheet_full_width.css b/web_sheet_full_width/static/src/css/web_sheet_full_width.css index 671094c42..ecc79ec65 100644 --- a/web_sheet_full_width/static/src/css/web_sheet_full_width.css +++ b/web_sheet_full_width/static/src/css/web_sheet_full_width.css @@ -6,3 +6,15 @@ { padding: 16px; } + +.openerp .oe_form div.oe_chatter { + max-width: 100%; +} + +.openerp .oe_followers { + width: 250px; +} + +.openerp .oe_record_thread { + margin-right: 293px; +} From 9803293740df01d9f9e361a449da601362f69c5a Mon Sep 17 00:00:00 2001 From: Alexandre Fayolle Date: Mon, 2 Mar 2015 17:29:19 +0100 Subject: [PATCH 03/17] Add OCA as author of OCA addons In order to get visibility on https://www.odoo.com/apps the OCA board has decided to add the OCA as author of all the addons maintained as part of the association. --- web_sheet_full_width/__openerp__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_sheet_full_width/__openerp__.py b/web_sheet_full_width/__openerp__.py index 6411ac7b1..58c4d9ba7 100644 --- a/web_sheet_full_width/__openerp__.py +++ b/web_sheet_full_width/__openerp__.py @@ -21,7 +21,7 @@ { "name": "Show sheets with full width", "version": "1.0", - "author": "Therp BV", + "author": "Therp BV,Odoo Community Association (OCA)", "license": "AGPL-3", "summary": "Use the whole available screen width when displaying sheets", "description": """ From fef02da9b90947c44098645056860e6d82a40865 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Fri, 9 Oct 2015 10:03:39 +0200 Subject: [PATCH 04/17] [UPD] prefix versions with 8.0 --- web_sheet_full_width/__openerp__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_sheet_full_width/__openerp__.py b/web_sheet_full_width/__openerp__.py index 58c4d9ba7..623e8a3a0 100644 --- a/web_sheet_full_width/__openerp__.py +++ b/web_sheet_full_width/__openerp__.py @@ -20,7 +20,7 @@ ############################################################################## { "name": "Show sheets with full width", - "version": "1.0", + "version": "8.0.1.0.0", "author": "Therp BV,Odoo Community Association (OCA)", "license": "AGPL-3", "summary": "Use the whole available screen width when displaying sheets", From e5ca27c16619a78573a8f94ff1e8a005977d0883 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Wed, 14 Oct 2015 02:57:05 +0200 Subject: [PATCH 05/17] [MIG] Make modules uninstallable --- web_sheet_full_width/__openerp__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_sheet_full_width/__openerp__.py b/web_sheet_full_width/__openerp__.py index 623e8a3a0..8de7743f6 100644 --- a/web_sheet_full_width/__openerp__.py +++ b/web_sheet_full_width/__openerp__.py @@ -43,7 +43,7 @@ Icon courtesy of http://www.picol.org/ (size_width.svg) "view/qweb.xml", ], "auto_install": False, - "installable": True, + 'installable': False, "application": False, "external_dependencies": { 'python': [], From 945318c08a9837ba7f877682b92dfb959584781d Mon Sep 17 00:00:00 2001 From: Nicolas JEUDY Date: Tue, 17 Nov 2015 16:44:44 +0100 Subject: [PATCH 06/17] fix: full width for sheet v9 - Add margin for better visibility - Add web_sheet_full_width migration state Done - Update to new OCA README.rst format. --- web_sheet_full_width/README.rst | 85 +++++++++++++++++++ web_sheet_full_width/__openerp__.py | 9 +- .../static/src/css/web_sheet_full_width.css | 7 ++ 3 files changed, 95 insertions(+), 6 deletions(-) create mode 100644 web_sheet_full_width/README.rst diff --git a/web_sheet_full_width/README.rst b/web_sheet_full_width/README.rst new file mode 100644 index 000000000..9e53dcd1d --- /dev/null +++ b/web_sheet_full_width/README.rst @@ -0,0 +1,85 @@ +.. 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 + +==================== +web_sheet_full_width +==================== + +This module was written to extend the functionality of web to support full width +for form view + +Installation +============ + +To install this module, you need to: + +* Just click install button. + +Configuration +============= + +To configure this module, you need to: + +* N/A + +Usage +===== + +To use this module, you need to: + +* Go to ... + +.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas + :alt: Try me on Runbot + :target: https://runbot.odoo-community.org/runbot/162/9.0 + +.. repo_id is available in https://github.com/OCA/maintainer-tools/blob/master/tools/repos_with_ids.txt +.. branch is "8.0" for example + +Known issues / Roadmap +====================== + +* N/A + +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 +`_. + +Credits +======= + +Images +------ + +* Odoo Community Association: `Icon `_. + +Contributors +------------ + +* Holger Brunn +* Nicolas JEUDY +* Stephane (SOLIBRE) + +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/web_sheet_full_width/__openerp__.py b/web_sheet_full_width/__openerp__.py index 8de7743f6..805a20bc3 100644 --- a/web_sheet_full_width/__openerp__.py +++ b/web_sheet_full_width/__openerp__.py @@ -20,8 +20,8 @@ ############################################################################## { "name": "Show sheets with full width", - "version": "8.0.1.0.0", - "author": "Therp BV,Odoo Community Association (OCA)", + "version": "9.0.1.0.0", + "author": "Therp BV,Sudokeys,Odoo Community Association (OCA)", "license": "AGPL-3", "summary": "Use the whole available screen width when displaying sheets", "description": """ @@ -43,9 +43,6 @@ Icon courtesy of http://www.picol.org/ (size_width.svg) "view/qweb.xml", ], "auto_install": False, - 'installable': False, + 'installable': True, "application": False, - "external_dependencies": { - 'python': [], - }, } diff --git a/web_sheet_full_width/static/src/css/web_sheet_full_width.css b/web_sheet_full_width/static/src/css/web_sheet_full_width.css index ecc79ec65..0c31d12d9 100644 --- a/web_sheet_full_width/static/src/css/web_sheet_full_width.css +++ b/web_sheet_full_width/static/src/css/web_sheet_full_width.css @@ -1,7 +1,14 @@ +.o_form_view .o_form_sheet_bg .o_form_sheet +{ + width: auto !important; + margin: 15px; +} + .openerp .oe_form_sheet_width { max-width: none; } + .openerp .oe_form_sheetbg { padding: 16px; From 3a9051a7671ce9bdd107b4bfc51dfb7261cfaad4 Mon Sep 17 00:00:00 2001 From: Nicolas JEUDY Date: Tue, 15 Dec 2015 17:10:24 +0100 Subject: [PATCH 07/17] fix: remove comments and empty line in README.rst --- web_sheet_full_width/README.rst | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/web_sheet_full_width/README.rst b/web_sheet_full_width/README.rst index 9e53dcd1d..3a391018b 100644 --- a/web_sheet_full_width/README.rst +++ b/web_sheet_full_width/README.rst @@ -9,34 +9,13 @@ web_sheet_full_width This module was written to extend the functionality of web to support full width for form view -Installation -============ - -To install this module, you need to: - -* Just click install button. - -Configuration -============= - -To configure this module, you need to: - -* N/A - Usage ===== -To use this module, you need to: - -* Go to ... - .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot :target: https://runbot.odoo-community.org/runbot/162/9.0 -.. repo_id is available in https://github.com/OCA/maintainer-tools/blob/master/tools/repos_with_ids.txt -.. branch is "8.0" for example - Known issues / Roadmap ====================== @@ -66,7 +45,7 @@ Contributors ------------ * Holger Brunn -* Nicolas JEUDY +* Nicolas JEUDY - Sudokeys (https://github.com/njeudy) * Stephane (SOLIBRE) Maintainer From 7eeb0316d6f80b34a105be353a33dc239ee8b994 Mon Sep 17 00:00:00 2001 From: Nicolas JEUDY Date: Tue, 15 Dec 2015 17:12:10 +0100 Subject: [PATCH 08/17] fix: add disclaimer for licence incompatibility with odoo enterprise --- web_sheet_full_width/README.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web_sheet_full_width/README.rst b/web_sheet_full_width/README.rst index 3a391018b..9c3e120c3 100644 --- a/web_sheet_full_width/README.rst +++ b/web_sheet_full_width/README.rst @@ -9,6 +9,8 @@ web_sheet_full_width This module was written to extend the functionality of web to support full width for form view +Note: Due to licence incompatibility you have not legal right to install this module on enterprise version. + Usage ===== From 3a34f3e291457fd05234bcb2455eb12e8545c1f2 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Thu, 6 Oct 2016 16:12:54 +0200 Subject: [PATCH 09/17] [MIG] Make modules uninstallable --- web_sheet_full_width/__openerp__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_sheet_full_width/__openerp__.py b/web_sheet_full_width/__openerp__.py index 805a20bc3..a18cd6db6 100644 --- a/web_sheet_full_width/__openerp__.py +++ b/web_sheet_full_width/__openerp__.py @@ -43,6 +43,6 @@ Icon courtesy of http://www.picol.org/ (size_width.svg) "view/qweb.xml", ], "auto_install": False, - 'installable': True, + 'installable': False, "application": False, } From ff893486380782a4e3019fe5dc47d917365a31f6 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Thu, 6 Oct 2016 16:13:01 +0200 Subject: [PATCH 10/17] [MIG] Rename manifest files --- web_sheet_full_width/{__openerp__.py => __manifest__.py} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename web_sheet_full_width/{__openerp__.py => __manifest__.py} (100%) diff --git a/web_sheet_full_width/__openerp__.py b/web_sheet_full_width/__manifest__.py similarity index 100% rename from web_sheet_full_width/__openerp__.py rename to web_sheet_full_width/__manifest__.py From 6ba292bd08380a30f528c762f5353a74e8fc30c0 Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Tue, 18 Oct 2016 12:42:45 +0200 Subject: [PATCH 11/17] 10.0 port web sheet full width (#449) [MIG] adapt web_sheet_full_width to V10.0 web framework --- web_sheet_full_width/README.rst | 11 +++-- web_sheet_full_width/__init__.py | 19 --------- web_sheet_full_width/__manifest__.py | 40 +++---------------- .../static/src/css/web_sheet_full_width.css | 27 ------------- .../static/src/css/web_sheet_full_width.less | 9 +++++ web_sheet_full_width/view/qweb.xml | 2 +- 6 files changed, 20 insertions(+), 88 deletions(-) delete mode 100644 web_sheet_full_width/static/src/css/web_sheet_full_width.css create mode 100644 web_sheet_full_width/static/src/css/web_sheet_full_width.less diff --git a/web_sheet_full_width/README.rst b/web_sheet_full_width/README.rst index 9c3e120c3..b244eb1a9 100644 --- a/web_sheet_full_width/README.rst +++ b/web_sheet_full_width/README.rst @@ -16,7 +16,7 @@ Usage .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/162/9.0 + :target: https://runbot.odoo-community.org/runbot/162/10.0 Known issues / Roadmap ====================== @@ -29,11 +29,7 @@ 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 -`_. +help us smashing it by providing a detailed and welcomed feedback. Credits ======= @@ -43,12 +39,15 @@ Images * Odoo Community Association: `Icon `_. +* Icon courtesy of http://www.picol.org/ (size_width.svg) + Contributors ------------ * Holger Brunn * Nicolas JEUDY - Sudokeys (https://github.com/njeudy) * Stephane (SOLIBRE) +* Sylvain LE GAL (https://twitter.com/legalsylvain) Maintainer ---------- diff --git a/web_sheet_full_width/__init__.py b/web_sheet_full_width/__init__.py index 9dd152f93..40a96afc6 100644 --- a/web_sheet_full_width/__init__.py +++ b/web_sheet_full_width/__init__.py @@ -1,20 +1 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# This module copyright (C) 2014 Therp BV (). -# -# 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 License for 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/web_sheet_full_width/__manifest__.py b/web_sheet_full_width/__manifest__.py index a18cd6db6..3b26cfa33 100644 --- a/web_sheet_full_width/__manifest__.py +++ b/web_sheet_full_width/__manifest__.py @@ -1,40 +1,12 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# OpenERP, Open Source Management Solution -# This module copyright (C) 2014 Therp BV (). -# -# 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 License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## +# Copyright (C) 2014 Therp BV () +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { "name": "Show sheets with full width", - "version": "9.0.1.0.0", - "author": "Therp BV,Sudokeys,Odoo Community Association (OCA)", + "version": "10.0.1.0.0", + "author": "Therp BV,Sudokeys,GRAP,Odoo Community Association (OCA)", "license": "AGPL-3", "summary": "Use the whole available screen width when displaying sheets", - "description": """ -Description ------------ -This addon displays sheets making use of the whole screen, thereby avoiding -to narrow columns in ie. sale orders or purchase orders. - - -Acknowledgements ----------------- -Icon courtesy of http://www.picol.org/ (size_width.svg) - """, "category": "Tools", "depends": [ 'web', @@ -42,7 +14,5 @@ Icon courtesy of http://www.picol.org/ (size_width.svg) "data": [ "view/qweb.xml", ], - "auto_install": False, - 'installable': False, - "application": False, + "installable": True, } diff --git a/web_sheet_full_width/static/src/css/web_sheet_full_width.css b/web_sheet_full_width/static/src/css/web_sheet_full_width.css deleted file mode 100644 index 0c31d12d9..000000000 --- a/web_sheet_full_width/static/src/css/web_sheet_full_width.css +++ /dev/null @@ -1,27 +0,0 @@ -.o_form_view .o_form_sheet_bg .o_form_sheet -{ - width: auto !important; - margin: 15px; -} - -.openerp .oe_form_sheet_width -{ - max-width: none; -} - -.openerp .oe_form_sheetbg -{ - padding: 16px; -} - -.openerp .oe_form div.oe_chatter { - max-width: 100%; -} - -.openerp .oe_followers { - width: 250px; -} - -.openerp .oe_record_thread { - margin-right: 293px; -} diff --git a/web_sheet_full_width/static/src/css/web_sheet_full_width.less b/web_sheet_full_width/static/src/css/web_sheet_full_width.less new file mode 100644 index 000000000..62ca5613e --- /dev/null +++ b/web_sheet_full_width/static/src/css/web_sheet_full_width.less @@ -0,0 +1,9 @@ +.o_form_view{ + .o_form_sheet_bg .o_form_sheet{ + margin: @padding-base-horizontal; + max-width: none; + } + .oe_chatter{ + max-width: none; + } +} diff --git a/web_sheet_full_width/view/qweb.xml b/web_sheet_full_width/view/qweb.xml index 5485c9187..df2b40bb1 100644 --- a/web_sheet_full_width/view/qweb.xml +++ b/web_sheet_full_width/view/qweb.xml @@ -3,7 +3,7 @@ From c46a8fecf20b39696c9fec112496e14637ed3554 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Garbely?= Date: Thu, 2 Feb 2017 19:16:24 +0100 Subject: [PATCH 12/17] [FIX] Bugfix in web_sheet_full_width for enterprise edition (#530) --- web_sheet_full_width/README.rst | 2 ++ web_sheet_full_width/__manifest__.py | 2 +- web_sheet_full_width/static/src/css/web_sheet_full_width.less | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/web_sheet_full_width/README.rst b/web_sheet_full_width/README.rst index b244eb1a9..566cc198e 100644 --- a/web_sheet_full_width/README.rst +++ b/web_sheet_full_width/README.rst @@ -11,6 +11,8 @@ for form view Note: Due to licence incompatibility you have not legal right to install this module on enterprise version. +This module works in community edition and in enterprise edition. + Usage ===== diff --git a/web_sheet_full_width/__manifest__.py b/web_sheet_full_width/__manifest__.py index 3b26cfa33..f1a9ed83d 100644 --- a/web_sheet_full_width/__manifest__.py +++ b/web_sheet_full_width/__manifest__.py @@ -3,7 +3,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { "name": "Show sheets with full width", - "version": "10.0.1.0.0", + "version": "10.0.1.0.1", "author": "Therp BV,Sudokeys,GRAP,Odoo Community Association (OCA)", "license": "AGPL-3", "summary": "Use the whole available screen width when displaying sheets", diff --git a/web_sheet_full_width/static/src/css/web_sheet_full_width.less b/web_sheet_full_width/static/src/css/web_sheet_full_width.less index 62ca5613e..293b7e52d 100644 --- a/web_sheet_full_width/static/src/css/web_sheet_full_width.less +++ b/web_sheet_full_width/static/src/css/web_sheet_full_width.less @@ -2,6 +2,7 @@ .o_form_sheet_bg .o_form_sheet{ margin: @padding-base-horizontal; max-width: none; + width: auto; } .oe_chatter{ max-width: none; From e54097f56badbc5146b418a3a82b729aa39b381a Mon Sep 17 00:00:00 2001 From: Jerther Date: Tue, 17 Oct 2017 10:38:22 -0400 Subject: [PATCH 13/17] [MIG] web_sheet_full_width: migration to 11.0. --- web_sheet_full_width/README.rst | 22 ++++++++-------------- web_sheet_full_width/__manifest__.py | 5 ++--- web_sheet_full_width/templates/assets.xml | 8 ++++++++ web_sheet_full_width/view/qweb.xml | 10 ---------- 4 files changed, 18 insertions(+), 27 deletions(-) create mode 100644 web_sheet_full_width/templates/assets.xml delete mode 100644 web_sheet_full_width/view/qweb.xml diff --git a/web_sheet_full_width/README.rst b/web_sheet_full_width/README.rst index 566cc198e..9a4ce28a0 100644 --- a/web_sheet_full_width/README.rst +++ b/web_sheet_full_width/README.rst @@ -2,14 +2,12 @@ :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 -==================== -web_sheet_full_width -==================== +============================= +Form view sheet at full width +============================= -This module was written to extend the functionality of web to support full width -for form view - -Note: Due to licence incompatibility you have not legal right to install this module on enterprise version. +This module was written to extend the functionality of the web client +to get full width in the form view sheet. This module works in community edition and in enterprise edition. @@ -18,12 +16,7 @@ Usage .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/162/10.0 - -Known issues / Roadmap -====================== - -* N/A + :target: https://runbot.odoo-community.org/runbot/162/11.0 Bug Tracker =========== @@ -49,7 +42,8 @@ Contributors * Holger Brunn * Nicolas JEUDY - Sudokeys (https://github.com/njeudy) * Stephane (SOLIBRE) -* Sylvain LE GAL (https://twitter.com/legalsylvain) +* Sylvain LE GAL (https://twitter.com/legalsylvain +* Jérôme Thériault Maintainer ---------- diff --git a/web_sheet_full_width/__manifest__.py b/web_sheet_full_width/__manifest__.py index f1a9ed83d..1b0c1fef7 100644 --- a/web_sheet_full_width/__manifest__.py +++ b/web_sheet_full_width/__manifest__.py @@ -1,10 +1,9 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2014 Therp BV () # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { "name": "Show sheets with full width", - "version": "10.0.1.0.1", - "author": "Therp BV,Sudokeys,GRAP,Odoo Community Association (OCA)", + "version": "11.0.1.0.1", + "author": "Therp BV, Sudokeys, GRAP, Métal Sartigan, Odoo Community Association (OCA)", "license": "AGPL-3", "summary": "Use the whole available screen width when displaying sheets", "category": "Tools", diff --git a/web_sheet_full_width/templates/assets.xml b/web_sheet_full_width/templates/assets.xml new file mode 100644 index 000000000..65c2f3878 --- /dev/null +++ b/web_sheet_full_width/templates/assets.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file diff --git a/web_sheet_full_width/view/qweb.xml b/web_sheet_full_width/view/qweb.xml deleted file mode 100644 index df2b40bb1..000000000 --- a/web_sheet_full_width/view/qweb.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - From 693cfbb7cecd0a40f4519ceacc2a0c19f30d994d Mon Sep 17 00:00:00 2001 From: Jerther Date: Tue, 17 Oct 2017 11:15:42 -0400 Subject: [PATCH 14/17] [FIX] web_sheet_full_width: fix assets.xml in manifest and missing parenthesis in readme. --- web_sheet_full_width/README.rst | 2 +- web_sheet_full_width/__manifest__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web_sheet_full_width/README.rst b/web_sheet_full_width/README.rst index 9a4ce28a0..152a85e8f 100644 --- a/web_sheet_full_width/README.rst +++ b/web_sheet_full_width/README.rst @@ -42,7 +42,7 @@ Contributors * Holger Brunn * Nicolas JEUDY - Sudokeys (https://github.com/njeudy) * Stephane (SOLIBRE) -* Sylvain LE GAL (https://twitter.com/legalsylvain +* Sylvain LE GAL (https://twitter.com/legalsylvain) * Jérôme Thériault Maintainer diff --git a/web_sheet_full_width/__manifest__.py b/web_sheet_full_width/__manifest__.py index 1b0c1fef7..61f97540a 100644 --- a/web_sheet_full_width/__manifest__.py +++ b/web_sheet_full_width/__manifest__.py @@ -11,7 +11,7 @@ 'web', ], "data": [ - "view/qweb.xml", + "templates/assets.xml", ], "installable": True, } From 205f093fbe9b0b8e1bf613d67733c1ad71f71457 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Thu, 19 Oct 2017 16:25:55 +0200 Subject: [PATCH 15/17] [FIX] web_sheet_full_width: PEP8 --- web_sheet_full_width/__manifest__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web_sheet_full_width/__manifest__.py b/web_sheet_full_width/__manifest__.py index 61f97540a..332e0b2ee 100644 --- a/web_sheet_full_width/__manifest__.py +++ b/web_sheet_full_width/__manifest__.py @@ -3,7 +3,8 @@ { "name": "Show sheets with full width", "version": "11.0.1.0.1", - "author": "Therp BV, Sudokeys, GRAP, Métal Sartigan, Odoo Community Association (OCA)", + "author": "Therp BV, Sudokeys, GRAP, Métal Sartigan, " + "Odoo Community Association (OCA)", "license": "AGPL-3", "summary": "Use the whole available screen width when displaying sheets", "category": "Tools", From fbc1496d4c63427cade145cb9e5ac875fd2c982d Mon Sep 17 00:00:00 2001 From: oca-travis Date: Sun, 24 Jun 2018 10:28:15 +0000 Subject: [PATCH 16/17] [UPD] Update web_sheet_full_width.pot --- web_sheet_full_width/i18n/web_sheet_full_width.pot | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 web_sheet_full_width/i18n/web_sheet_full_width.pot diff --git a/web_sheet_full_width/i18n/web_sheet_full_width.pot b/web_sheet_full_width/i18n/web_sheet_full_width.pot new file mode 100644 index 000000000..447d3bb3c --- /dev/null +++ b/web_sheet_full_width/i18n/web_sheet_full_width.pot @@ -0,0 +1,14 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 11.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + From 7a95f7b231794edf89303a2824496590f412abca Mon Sep 17 00:00:00 2001 From: Vincent Van Rossem Date: Thu, 3 Dec 2020 19:28:20 +0100 Subject: [PATCH 17/17] [12.0][MIG] web_sheet_full_width --- web_sheet_full_width/README.rst | 78 ++-- web_sheet_full_width/__init__.py | 1 - web_sheet_full_width/__manifest__.py | 15 +- .../i18n/web_sheet_full_width.pot | 2 +- web_sheet_full_width/readme/CONTRIBUTORS.rst | 7 + web_sheet_full_width/readme/DESCRIPTION.rst | 8 + .../static/description/index.html | 428 ++++++++++++++++++ .../static/src/css/web_sheet_full_width.less | 10 - .../static/src/css/web_sheet_full_width.scss | 9 + web_sheet_full_width/templates/assets.xml | 4 +- 10 files changed, 505 insertions(+), 57 deletions(-) create mode 100644 web_sheet_full_width/readme/CONTRIBUTORS.rst create mode 100644 web_sheet_full_width/readme/DESCRIPTION.rst create mode 100644 web_sheet_full_width/static/description/index.html delete mode 100644 web_sheet_full_width/static/src/css/web_sheet_full_width.less create mode 100644 web_sheet_full_width/static/src/css/web_sheet_full_width.scss diff --git a/web_sheet_full_width/README.rst b/web_sheet_full_width/README.rst index 152a85e8f..0d4a56721 100644 --- a/web_sheet_full_width/README.rst +++ b/web_sheet_full_width/README.rst @@ -1,61 +1,73 @@ -.. 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 +==================== +Web Sheet Full Width +==================== -============================= -Form view sheet at full width -============================= +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-oca%2Fweb-lightgray.png?logo=github + :target: https://github.com/oca/web/tree/12.0/web_sheet_full_width + :alt: oca/web + +|badge1| |badge2| |badge3| This module was written to extend the functionality of the web client to get full width in the form view sheet. This module works in community edition and in enterprise edition. -Usage -===== +This module feature and many other features and improvements to the web backend +are included in `web_responsive module `_. +Before installing this module, please consider Web Responsive as a better alternative. -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/162/11.0 +**Table of contents** + +.. contents:: + :local: 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. +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 `_. + +Do not contact contributors directly about support or help with technical issues. Credits ======= -Images ------- +Authors +~~~~~~~ -* Odoo Community Association: `Icon `_. - -* Icon courtesy of http://www.picol.org/ (size_width.svg) +* Therp BV +* Sudokeys +* GRAP +* Métal Sartigan Contributors ------------- +~~~~~~~~~~~~ * Holger Brunn * Nicolas JEUDY - Sudokeys (https://github.com/njeudy) * Stephane (SOLIBRE) * Sylvain LE GAL (https://twitter.com/legalsylvain) * Jérôme Thériault +* Lois Rilo +* Vincent Van Rossem -Maintainer ----------- +Maintainers +~~~~~~~~~~~ -.. image:: https://odoo-community.org/logo.png - :alt: Odoo Community Association - :target: https://odoo-community.org +This module is part of the `oca/web `_ project on GitHub. -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. +You are welcome to contribute. diff --git a/web_sheet_full_width/__init__.py b/web_sheet_full_width/__init__.py index 40a96afc6..e69de29bb 100644 --- a/web_sheet_full_width/__init__.py +++ b/web_sheet_full_width/__init__.py @@ -1 +0,0 @@ -# -*- coding: utf-8 -*- diff --git a/web_sheet_full_width/__manifest__.py b/web_sheet_full_width/__manifest__.py index 332e0b2ee..6a7693baf 100644 --- a/web_sheet_full_width/__manifest__.py +++ b/web_sheet_full_width/__manifest__.py @@ -1,18 +1,13 @@ -# -*- coding: utf-8 -*- # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { - "name": "Show sheets with full width", - "version": "11.0.1.0.1", + "name": "Web Sheet Full Width", + "version": "12.0.1.0.0", "author": "Therp BV, Sudokeys, GRAP, Métal Sartigan, " - "Odoo Community Association (OCA)", + "Odoo Community Association (OCA)", "license": "AGPL-3", "summary": "Use the whole available screen width when displaying sheets", "category": "Tools", - "depends": [ - 'web', - ], - "data": [ - "templates/assets.xml", - ], + "depends": ["web", ], + "data": ["templates/assets.xml", ], "installable": True, } diff --git a/web_sheet_full_width/i18n/web_sheet_full_width.pot b/web_sheet_full_width/i18n/web_sheet_full_width.pot index 447d3bb3c..d2e396f15 100644 --- a/web_sheet_full_width/i18n/web_sheet_full_width.pot +++ b/web_sheet_full_width/i18n/web_sheet_full_width.pot @@ -3,7 +3,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" +"Project-Id-Version: Odoo Server 12.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: <>\n" "Language-Team: \n" diff --git a/web_sheet_full_width/readme/CONTRIBUTORS.rst b/web_sheet_full_width/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..fec35cd9d --- /dev/null +++ b/web_sheet_full_width/readme/CONTRIBUTORS.rst @@ -0,0 +1,7 @@ +* Holger Brunn +* Nicolas JEUDY - Sudokeys (https://github.com/njeudy) +* Stephane (SOLIBRE) +* Sylvain LE GAL (https://twitter.com/legalsylvain) +* Jérôme Thériault +* Lois Rilo +* Vincent Van Rossem diff --git a/web_sheet_full_width/readme/DESCRIPTION.rst b/web_sheet_full_width/readme/DESCRIPTION.rst new file mode 100644 index 000000000..76552c336 --- /dev/null +++ b/web_sheet_full_width/readme/DESCRIPTION.rst @@ -0,0 +1,8 @@ +This module was written to extend the functionality of the web client +to get full width in the form view sheet. + +This module works in community edition and in enterprise edition. + +This module feature and many other features and improvements to the web backend +are included in `web_responsive module `_. +Before installing this module, please consider Web Responsive as a better alternative. diff --git a/web_sheet_full_width/static/description/index.html b/web_sheet_full_width/static/description/index.html new file mode 100644 index 000000000..9c8a99733 --- /dev/null +++ b/web_sheet_full_width/static/description/index.html @@ -0,0 +1,428 @@ + + + + + + +Web Sheet Full Width + + + +
+

Web Sheet Full Width

+ + +

Beta License: AGPL-3 oca/web

+

This module was written to extend the functionality of the web client +to get full width in the form view sheet.

+

This module works in community edition and in enterprise edition.

+

This module feature and many other features and improvements to the web backend +are included in web_responsive module. +Before installing this module, please consider Web Responsive as a better alternative.

+

Table of contents

+ +
+

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.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • Therp BV
  • +
  • Sudokeys
  • +
  • GRAP
  • +
  • Métal Sartigan
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is part of the oca/web project on GitHub.

+

You are welcome to contribute.

+
+
+
+ + diff --git a/web_sheet_full_width/static/src/css/web_sheet_full_width.less b/web_sheet_full_width/static/src/css/web_sheet_full_width.less deleted file mode 100644 index 293b7e52d..000000000 --- a/web_sheet_full_width/static/src/css/web_sheet_full_width.less +++ /dev/null @@ -1,10 +0,0 @@ -.o_form_view{ - .o_form_sheet_bg .o_form_sheet{ - margin: @padding-base-horizontal; - max-width: none; - width: auto; - } - .oe_chatter{ - max-width: none; - } -} diff --git a/web_sheet_full_width/static/src/css/web_sheet_full_width.scss b/web_sheet_full_width/static/src/css/web_sheet_full_width.scss new file mode 100644 index 000000000..0051dcf5c --- /dev/null +++ b/web_sheet_full_width/static/src/css/web_sheet_full_width.scss @@ -0,0 +1,9 @@ +.o_form_view { + .o_form_sheet_bg .o_form_sheet { + max-width: none; + width: auto; + } + .oe_chatter { + max-width: none; + } +} diff --git a/web_sheet_full_width/templates/assets.xml b/web_sheet_full_width/templates/assets.xml index 65c2f3878..85beca25c 100644 --- a/web_sheet_full_width/templates/assets.xml +++ b/web_sheet_full_width/templates/assets.xml @@ -2,7 +2,7 @@ - \ No newline at end of file +