From 58c1c66176982ac8847d7408319781d96a700d60 Mon Sep 17 00:00:00 2001 From: fanha99 Date: Tue, 28 Nov 2017 01:47:16 +0700 Subject: [PATCH] [FIX] web_responsive: Hide header when print directly from browser issues 808 (#809) Closes #808 --- web_responsive/__manifest__.py | 2 +- web_responsive/static/src/less/navbar.less | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/web_responsive/__manifest__.py b/web_responsive/__manifest__.py index 7045b301..5a2d48c5 100644 --- a/web_responsive/__manifest__.py +++ b/web_responsive/__manifest__.py @@ -6,7 +6,7 @@ "name": "Web Responsive", "summary": "It provides a mobile compliant interface for Odoo Community " "web", - "version": "11.0.1.0.1", + "version": "11.0.1.0.2", "category": "Website", "website": "https://laslabs.com/", "author": "LasLabs, Tecnativa, Odoo Community Association (OCA)", diff --git a/web_responsive/static/src/less/navbar.less b/web_responsive/static/src/less/navbar.less index f112be07..0f5a4020 100644 --- a/web_responsive/static/src/less/navbar.less +++ b/web_responsive/static/src/less/navbar.less @@ -4,6 +4,10 @@ header { margin: 0; padding: 0; + + @media print { + display: none; + } > .main-nav { display: block;