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 + +