diff --git a/web_sheet_full_width/README.rst b/web_sheet_full_width/README.rst new file mode 100644 index 00000000..152a85e8 --- /dev/null +++ b/web_sheet_full_width/README.rst @@ -0,0 +1,61 @@ +.. 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 + +============================= +Form view sheet at full width +============================= + +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 +===== + +.. 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 + +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 `_. + +* 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) +* Jérôme Thériault + +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/__init__.py b/web_sheet_full_width/__init__.py new file mode 100644 index 00000000..40a96afc --- /dev/null +++ b/web_sheet_full_width/__init__.py @@ -0,0 +1 @@ +# -*- coding: utf-8 -*- diff --git a/web_sheet_full_width/__manifest__.py b/web_sheet_full_width/__manifest__.py new file mode 100644 index 00000000..61f97540 --- /dev/null +++ b/web_sheet_full_width/__manifest__.py @@ -0,0 +1,17 @@ +# -*- 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", + "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", + "depends": [ + 'web', + ], + "data": [ + "templates/assets.xml", + ], + "installable": True, +} 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 00000000..18295d8f Binary files /dev/null and b/web_sheet_full_width/static/description/icon.png differ 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 00000000..293b7e52 --- /dev/null +++ b/web_sheet_full_width/static/src/css/web_sheet_full_width.less @@ -0,0 +1,10 @@ +.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/templates/assets.xml b/web_sheet_full_width/templates/assets.xml new file mode 100644 index 00000000..65c2f387 --- /dev/null +++ b/web_sheet_full_width/templates/assets.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file