From 6f6025835bc7cdf3b114d9141c2101674d0119df Mon Sep 17 00:00:00 2001 From: Nicolas JEUDY Date: Tue, 17 Nov 2015 16:44:44 +0100 Subject: [PATCH 1/3] 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. --- README.md | 2 +- web_sheet_full_width/README.rst | 85 +++++++++++++++++++ web_sheet_full_width/__openerp__.py | 9 +- .../static/src/css/web_sheet_full_width.css | 7 ++ 4 files changed, 96 insertions(+), 7 deletions(-) create mode 100644 web_sheet_full_width/README.rst diff --git a/README.md b/README.md index bc0d36ac..c121405c 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ addon | version | summary [web_search_alphabetic](web_search_alphabetic/) | 1.0 (unported) | Web Alphabetical Search [web_searchbar_full_width](web_searchbar_full_width/) | 8.0.1.0.0 (unported) | Show search bar in full screen width [web_send_message_popup](web_send_message_popup/) | 1.0 (unported) | Web Send Message as Popup -[web_sheet_full_width](web_sheet_full_width/) | 8.0.1.0.0 (unported) | Use the whole available screen width when displaying sheets +[web_sheet_full_width](web_sheet_full_width/) | 9.0.1.0.0 | Use the whole available screen width when displaying sheets [web_sheet_full_width_selective](web_sheet_full_width_selective/) | 8.0.0.1.0 (unported) | Show selected sheets with full width [web_shortcuts](web_shortcuts/) | 8.0.1.0.0 (unported) | Web Shortcuts [web_switch_company_warning](web_switch_company_warning/) | 8.0.0.1.0 (unported) | Show a warning if current company has been switched in another tab or window. diff --git a/web_sheet_full_width/README.rst b/web_sheet_full_width/README.rst new file mode 100644 index 00000000..9e53dcd1 --- /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 8de7743f..805a20bc 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 ecc79ec6..0c31d12d 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 4bee6e6e6936487572e18018e7dee219a74e0174 Mon Sep 17 00:00:00 2001 From: Nicolas JEUDY Date: Tue, 15 Dec 2015 17:10:24 +0100 Subject: [PATCH 2/3] 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 9e53dcd1..3a391018 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 6551a802a586dc6c5fb845590b36168def216132 Mon Sep 17 00:00:00 2001 From: Nicolas JEUDY Date: Tue, 15 Dec 2015 17:12:10 +0100 Subject: [PATCH 3/3] 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 3a391018..9c3e120c 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 =====