From 42fa9155819a3ab710913d5a82bc8e1994e2aff2 Mon Sep 17 00:00:00 2001 From: dufresnedavid Date: Tue, 15 Sep 2015 22:06:19 -0400 Subject: [PATCH] Backport web_sheet_full_width to 7.0 --- web_sheet_full_width/__openerp__.py | 4 +++- .../static/src/css/web_sheet_full_width.css | 4 +++- .../static/{description => src/img}/icon.png | Bin web_sheet_full_width/view/qweb.xml | 10 ---------- 4 files changed, 6 insertions(+), 12 deletions(-) rename web_sheet_full_width/static/{description => src/img}/icon.png (100%) delete mode 100644 web_sheet_full_width/view/qweb.xml diff --git a/web_sheet_full_width/__openerp__.py b/web_sheet_full_width/__openerp__.py index 58c4d9ba..82f06ff6 100644 --- a/web_sheet_full_width/__openerp__.py +++ b/web_sheet_full_width/__openerp__.py @@ -40,7 +40,9 @@ Icon courtesy of http://www.picol.org/ (size_width.svg) 'web', ], "data": [ - "view/qweb.xml", + ], + 'css': [ + 'static/src/css/web_sheet_full_width.css', ], "auto_install": 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 index ecc79ec6..48a6ea3e 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,9 @@ .openerp .oe_form_sheet_width { - max-width: none; + min-width: 650px; + max-width: none !important; } + .openerp .oe_form_sheetbg { padding: 16px; diff --git a/web_sheet_full_width/static/description/icon.png b/web_sheet_full_width/static/src/img/icon.png similarity index 100% rename from web_sheet_full_width/static/description/icon.png rename to web_sheet_full_width/static/src/img/icon.png diff --git a/web_sheet_full_width/view/qweb.xml b/web_sheet_full_width/view/qweb.xml deleted file mode 100644 index 5485c918..00000000 --- a/web_sheet_full_width/view/qweb.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - -