From 832a4b28fedfa18db84469a945e70680e2cb03ae Mon Sep 17 00:00:00 2001 From: Holger Brunn Date: Tue, 16 Dec 2014 13:41:22 +0100 Subject: [PATCH 01/19] [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 2abe743cb0a65b11011adc445defcf64ba63a576 Mon Sep 17 00:00:00 2001 From: Nicolas JEUDY Date: Thu, 1 Jan 2015 21:33:08 +0100 Subject: [PATCH 02/19] 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 14e2905882c0d3139a8f8443e053a66f164c7f91 Mon Sep 17 00:00:00 2001 From: Alexandre Fayolle Date: Mon, 2 Mar 2015 17:29:19 +0100 Subject: [PATCH 03/19] 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 829eb7940c4b4473daec8acd23ec7fe477c5c32a 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/19] [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 1ab323d9f5edb66b671bdaa24c375dcdab16b4a1 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Wed, 14 Oct 2015 02:57:05 +0200 Subject: [PATCH 05/19] [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 5286427b11ad7069322c696609a980d8a6c8644b Mon Sep 17 00:00:00 2001 From: Nicolas JEUDY Date: Tue, 17 Nov 2015 16:44:44 +0100 Subject: [PATCH 06/19] 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 bc230db49a559ed20020f0a71818da4f30b5cd6d Mon Sep 17 00:00:00 2001 From: Nicolas JEUDY Date: Tue, 15 Dec 2015 17:10:24 +0100 Subject: [PATCH 07/19] 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 68456e296e731fcd1fba950e583a7309fc00c33e Mon Sep 17 00:00:00 2001 From: Nicolas JEUDY Date: Tue, 15 Dec 2015 17:12:10 +0100 Subject: [PATCH 08/19] 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 a221803b62af4aeb9d972e010f8e6e65d47aa827 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Thu, 6 Oct 2016 16:12:54 +0200 Subject: [PATCH 09/19] [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 9806069887c0565717d2c4c9a5e45eee2af464b7 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Thu, 6 Oct 2016 16:13:01 +0200 Subject: [PATCH 10/19] [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 95be517bed8b2a292f30666b6f31ffa8978b813f Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Tue, 18 Oct 2016 12:42:45 +0200 Subject: [PATCH 11/19] 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 5d9dac471a873a2a3ba4a534332d85cbdc04a204 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/19] [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 3221ade022d3398eb068493dc17d0e2c9f855801 Mon Sep 17 00:00:00 2001 From: Jerther Date: Tue, 17 Oct 2017 10:38:22 -0400 Subject: [PATCH 13/19] [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 1a8e9a74b8d130da8cbc192df6a86acfc8bf0355 Mon Sep 17 00:00:00 2001 From: Jerther Date: Tue, 17 Oct 2017 11:15:42 -0400 Subject: [PATCH 14/19] [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 5066cb7e70a28f3911e05e8cf9b462923a67ba21 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Thu, 19 Oct 2017 16:25:55 +0200 Subject: [PATCH 15/19] [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 81187628ae69618cdef6c8df7d915e08f9271193 Mon Sep 17 00:00:00 2001 From: oca-travis Date: Sun, 24 Jun 2018 10:28:15 +0000 Subject: [PATCH 16/19] [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 10fe98406d886ccb4cd09b726eceeacc5002f2d0 Mon Sep 17 00:00:00 2001 From: Mihai Fekete Date: Fri, 17 Jul 2020 09:16:19 +0300 Subject: [PATCH 17/19] [IMP] web_sheet_full_width: black, isort, prettier --- .../odoo/addons/web_sheet_full_width | 1 + setup/web_sheet_full_width/setup.py | 6 ++++++ web_sheet_full_width/__init__.py | 1 - web_sheet_full_width/__manifest__.py | 13 ++++-------- .../static/src/css/web_sheet_full_width.less | 6 +++--- web_sheet_full_width/templates/assets.xml | 21 ++++++++++++------- 6 files changed, 28 insertions(+), 20 deletions(-) create mode 120000 setup/web_sheet_full_width/odoo/addons/web_sheet_full_width create mode 100644 setup/web_sheet_full_width/setup.py diff --git a/setup/web_sheet_full_width/odoo/addons/web_sheet_full_width b/setup/web_sheet_full_width/odoo/addons/web_sheet_full_width new file mode 120000 index 000000000..c160910c5 --- /dev/null +++ b/setup/web_sheet_full_width/odoo/addons/web_sheet_full_width @@ -0,0 +1 @@ +../../../../web_sheet_full_width \ No newline at end of file diff --git a/setup/web_sheet_full_width/setup.py b/setup/web_sheet_full_width/setup.py new file mode 100644 index 000000000..28c57bb64 --- /dev/null +++ b/setup/web_sheet_full_width/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) 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..e889d5440 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", + "version": "13.0.1.0.1", "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/static/src/css/web_sheet_full_width.less b/web_sheet_full_width/static/src/css/web_sheet_full_width.less index 293b7e52d..b4128cb79 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 @@ -1,10 +1,10 @@ -.o_form_view{ - .o_form_sheet_bg .o_form_sheet{ +.o_form_view { + .o_form_sheet_bg .o_form_sheet { margin: @padding-base-horizontal; max-width: none; width: auto; } - .oe_chatter{ + .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..be271bca9 100644 --- a/web_sheet_full_width/templates/assets.xml +++ b/web_sheet_full_width/templates/assets.xml @@ -1,8 +1,15 @@ - + - - \ No newline at end of file + + From b1a25d7fb4f086640f94f5c8d70af7771ff3a63d Mon Sep 17 00:00:00 2001 From: Mihai Fekete Date: Fri, 17 Jul 2020 09:17:19 +0300 Subject: [PATCH 18/19] [MIG] web_sheet_full_width: Migration to 13.0 --- 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, 2 insertions(+), 3 deletions(-) diff --git a/web_sheet_full_width/README.rst b/web_sheet_full_width/README.rst index 152a85e8f..df9f7ebbd 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/11.0 + :target: https://runbot.odoo-community.org/runbot/162/13.0 Bug Tracker =========== diff --git a/web_sheet_full_width/__manifest__.py b/web_sheet_full_width/__manifest__.py index e889d5440..26871b63f 100644 --- a/web_sheet_full_width/__manifest__.py +++ b/web_sheet_full_width/__manifest__.py @@ -1,7 +1,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { "name": "Show sheets with full width", - "version": "13.0.1.0.1", + "version": "13.0.1.0.0", "author": "Therp BV, Sudokeys, GRAP, Métal Sartigan, " "Odoo Community Association (OCA)", "license": "AGPL-3", 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 b4128cb79..0051dcf5c 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 @@ -1,6 +1,5 @@ .o_form_view { .o_form_sheet_bg .o_form_sheet { - margin: @padding-base-horizontal; max-width: none; width: auto; } From 0fd970720850a995bb45bc606cf401c61cc846fa Mon Sep 17 00:00:00 2001 From: Lois Rilo Date: Tue, 6 Oct 2020 13:47:20 +0200 Subject: [PATCH 19/19] [13.0][MIG] web_sheet_full_width: * less -> scss * fragment readme + add a pointer to web_responsive --- web_sheet_full_width/README.rst | 79 ++-- web_sheet_full_width/__manifest__.py | 3 +- web_sheet_full_width/readme/CONTRIBUTORS.rst | 6 + web_sheet_full_width/readme/DESCRIPTION.rst | 8 + .../static/description/index.html | 432 ++++++++++++++++++ .../web_sheet_full_width.scss} | 0 web_sheet_full_width/templates/assets.xml | 2 +- 7 files changed, 502 insertions(+), 28 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 rename web_sheet_full_width/static/src/{css/web_sheet_full_width.less => scss/web_sheet_full_width.scss} (100%) diff --git a/web_sheet_full_width/README.rst b/web_sheet_full_width/README.rst index df9f7ebbd..be0fe5696 100644 --- a/web_sheet_full_width/README.rst +++ b/web_sheet_full_width/README.rst @@ -1,61 +1,88 @@ -.. 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/13.0/web_sheet_full_width + :alt: OCA/web +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/web-13-0/web-13-0-web_sheet_full_width + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/162/13.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| 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/13.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 -Maintainer ----------- +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. .. 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. +This module is part of the `OCA/web `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/web_sheet_full_width/__manifest__.py b/web_sheet_full_width/__manifest__.py index 26871b63f..03ca313b4 100644 --- a/web_sheet_full_width/__manifest__.py +++ b/web_sheet_full_width/__manifest__.py @@ -1,9 +1,10 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). { - "name": "Show sheets with full width", + "name": "Web Sheet Full Width", "version": "13.0.1.0.0", "author": "Therp BV, Sudokeys, GRAP, Métal Sartigan, " "Odoo Community Association (OCA)", + "website": "https://github.com/OCA/web", "license": "AGPL-3", "summary": "Use the whole available screen width when displaying sheets", "category": "Tools", diff --git a/web_sheet_full_width/readme/CONTRIBUTORS.rst b/web_sheet_full_width/readme/CONTRIBUTORS.rst new file mode 100644 index 000000000..0ae94a8ef --- /dev/null +++ b/web_sheet_full_width/readme/CONTRIBUTORS.rst @@ -0,0 +1,6 @@ +* 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 diff --git a/web_sheet_full_width/readme/DESCRIPTION.rst b/web_sheet_full_width/readme/DESCRIPTION.rst new file mode 100644 index 000000000..eb763f824 --- /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..82583639f --- /dev/null +++ b/web_sheet_full_width/static/description/index.html @@ -0,0 +1,432 @@ + + + + + + +Web Sheet Full Width + + + +
+

Web Sheet Full Width

+ + +

Beta License: AGPL-3 OCA/web Translate me on Weblate Try me on Runbot

+

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 maintained by the OCA.

+Odoo Community Association +

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.

+

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

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/web_sheet_full_width/static/src/css/web_sheet_full_width.less b/web_sheet_full_width/static/src/scss/web_sheet_full_width.scss similarity index 100% rename from web_sheet_full_width/static/src/css/web_sheet_full_width.less rename to web_sheet_full_width/static/src/scss/web_sheet_full_width.scss diff --git a/web_sheet_full_width/templates/assets.xml b/web_sheet_full_width/templates/assets.xml index be271bca9..4ee84af90 100644 --- a/web_sheet_full_width/templates/assets.xml +++ b/web_sheet_full_width/templates/assets.xml @@ -8,7 +8,7 @@