summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css/base.sass
diff options
context:
space:
mode:
authorNicolas Lempereur <nle@odoo.com>2015-05-06 12:40:15 +0200
committerNicolas Lempereur <nle@odoo.com>2015-05-08 11:59:59 +0200
commita1fab0489466950a62f50925a1d3ad45f70a699a (patch)
treefa3cfd9cc8a540e4f7f3a2249c61f8ab835e7487 /addons/web/static/src/css/base.sass
parent926aa5bcf9217e9fe687602ce8e5281cfc631a73 (diff)
[FIX] web: view list lines in media print
List view elements were not displayed when printing a list view via the browser interface. Also now, with firefox (and maybe other browser but not with webkit based ones) the page break should not happen in the middle of a row (hence something cutting a sentence vertically on two pages). closes #6581 opw-634588
Diffstat (limited to 'addons/web/static/src/css/base.sass')
-rw-r--r--addons/web/static/src/css/base.sass12
1 files changed, 12 insertions, 0 deletions
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index 476ed2cc746..255559543c5 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -2524,9 +2524,18 @@ body.oe_single_form
@media print
body
height: auto !important
+ overflow: visible !important
+ tr, td
+ page-break-inside: avoid
+ page-break-after: auto
.openerp#announcement_bar_table
display: none
.openerp
+ &.openerp_webclient_container
+ display: block
+ height: auto !important
+ .oe-view-manager
+ display: block
.oe_application, .oe_view_manager_wrapper
height: auto !important
.oe_application > div > .oe_view_manager > .oe_view_manager_wrapper > div > .oe_view_manager_body
@@ -2554,6 +2563,7 @@ body.oe_single_form
box-shadow: 0px 0px 0px
.oe_list
overflow-x: visible
+ width: auto
.oe_view_manager_current > .oe_view_manager_header
border: 0px !important
box-shadow: 0px 0px 0px
@@ -2562,6 +2572,8 @@ body.oe_single_form
background: none
.openerp div.oe_mail_wall
overflow: hidden !important
+ .oe-view-manager .oe-view-manager-content
+ overflow: visible
.openerp.openerp_webclient_container
overflow: visible
// }}}