diff --git a/web_searchbar_full_width/README.rst b/web_searchbar_full_width/README.rst index 67cc0410..dc7c3448 100644 --- a/web_searchbar_full_width/README.rst +++ b/web_searchbar_full_width/README.rst @@ -25,6 +25,7 @@ Contributors ------------ * Holger Brunn +* Siddharth Bhalgami Maintainer ---------- diff --git a/web_searchbar_full_width/__openerp__.py b/web_searchbar_full_width/__openerp__.py index b80bb35c..76c9a7fb 100644 --- a/web_searchbar_full_width/__openerp__.py +++ b/web_searchbar_full_width/__openerp__.py @@ -20,9 +20,10 @@ ############################################################################## { "name": "Full width searchbar", - "version": "8.0.1.0.0", + "version": "9.0.1.0.0", "author": "Therp BV, " - "Odoo Community Association (OCA)", + "Odoo Community Association (OCA), " + "Siddharth Bhalgami", "license": "AGPL-3", "category": "Tools", "summary": "Show search bar in full screen width", @@ -32,15 +33,5 @@ "data": [ 'views/templates.xml', ], - "qweb": [ - 'static/src/xml/web_searchbar_full_width.xml', - ], - "test": [ - ], - "auto_install": False, - 'installable': False, - "application": False, - "external_dependencies": { - 'python': [], - }, + 'installable': True, } diff --git a/web_searchbar_full_width/static/description/icon.png b/web_searchbar_full_width/static/description/icon.png index 80100ac6..ebb97429 100644 Binary files a/web_searchbar_full_width/static/description/icon.png and b/web_searchbar_full_width/static/description/icon.png differ diff --git a/web_searchbar_full_width/static/description/preview.png b/web_searchbar_full_width/static/description/preview.png index 51be2203..d6a58aa4 100644 Binary files a/web_searchbar_full_width/static/description/preview.png and b/web_searchbar_full_width/static/description/preview.png differ diff --git a/web_searchbar_full_width/static/src/css/web_searchbar_full_width.css b/web_searchbar_full_width/static/src/css/web_searchbar_full_width.css index 160ecbf7..f09caad6 100644 --- a/web_searchbar_full_width/static/src/css/web_searchbar_full_width.css +++ b/web_searchbar_full_width/static/src/css/web_searchbar_full_width.css @@ -1,20 +1,8 @@ -.openerp .oe_application .oe_breadcrumb_item:not(:last-child) -{ - max-width: inherit; -} -.openerp .oe_searchview -{ +.openerp .oe-control-panel .oe-cp-title { width: 100%; } -.openerp .oe_view_manager_current > .oe_view_manager_header .oe_header_row_top td -{ - padding-bottom: 0px; -} -.openerp .oe_view_manager_current > .oe_view_manager_header span.oe_breadcrumb_item -{ - padding-top: 3px; -} -.openerp .oe_view_manager table.oe_view_manager_header h2 -{ - line-height: 20px; +.openerp .oe-control-panel .oe-cp-search-view { + padding-top: 0px; + padding-bottom: 3px; + width: 100%; } diff --git a/web_searchbar_full_width/static/src/xml/web_searchbar_full_width.xml b/web_searchbar_full_width/static/src/xml/web_searchbar_full_width.xml deleted file mode 100644 index 8a2c3d70..00000000 --- a/web_searchbar_full_width/static/src/xml/web_searchbar_full_width.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - jQuery(this).attr('colspan', 4); - - - var $new_row = jQuery(''); - jQuery(this) - .parents('tr') - .after($new_row); - $new_row.append(jQuery(this).attr('colspan', 4)); - - - diff --git a/web_searchbar_full_width/views/templates.xml b/web_searchbar_full_width/views/templates.xml index 013cffa7..bf7c0f35 100644 --- a/web_searchbar_full_width/views/templates.xml +++ b/web_searchbar_full_width/views/templates.xml @@ -1,10 +1,8 @@ - - - - - + + +