diff --git a/addons/web/static/src/less/backend_theme/flectra_style.less b/addons/web/static/src/less/backend_theme/flectra_style.less index 3e5e24a3..adce3a79 100755 --- a/addons/web/static/src/less/backend_theme/flectra_style.less +++ b/addons/web/static/src/less/backend_theme/flectra_style.less @@ -19,10 +19,15 @@ body { @media print { body { overflow: auto !important; - .o_main_content { - overflow: visible !important; - .o_content { + display: block !important; + .o_main { + display: block !important; + .o_main_content { + display: block !important; overflow: visible !important; + .o_content { + overflow: visible !important; + } } } } @@ -136,6 +141,29 @@ div.o_checkbox { outline: 1px solid @brand-primary; } } +@media print { + .o_checkbox { + input[type="checkbox"] { + opacity: 1 !important; + } + input:disabled + span { + opacity: 0 !important; + } + } + .o_kanban_view { + display: block; + .o_kanban_record { + width: 100% !important; + margin: 0 !important; + } + } + .o_pivot { + overflow: unset !important; + } + .o_graph { + height: 500px !important; + } +} .o_dialog_error.modal-body{ .alert{ color: #8a6d3b; diff --git a/addons/web/static/src/less/backend_theme/form_view.less b/addons/web/static/src/less/backend_theme/form_view.less index 164723a3..c48516fc 100755 --- a/addons/web/static/src/less/backend_theme/form_view.less +++ b/addons/web/static/src/less/backend_theme/form_view.less @@ -47,6 +47,12 @@ } } } + @media print { + border: 0 !important; + .nav-tabs { + border: 0 !important; + } + } } .o_form_view { @@ -87,10 +93,12 @@ } } } + @media print { + border: 0 !important; + } } .o_form_statusbar { - - min-height: 34px; + min-height: 34px; > .o_statusbar_status { > .o_arrow_button { background-color: #ffffff; diff --git a/addons/web/static/src/less/backend_theme/list_view.less b/addons/web/static/src/less/backend_theme/list_view.less index bac7d01e..a75634de 100755 --- a/addons/web/static/src/less/backend_theme/list_view.less +++ b/addons/web/static/src/less/backend_theme/list_view.less @@ -12,8 +12,19 @@ } @media print { - .o_checkbox { - display: none; + thead { + th.o_column_sortable { + position: unset; + } + } + tfoot { + border: 0; + display: table-footer-group; + } + .o_list_record_selector { + .o_checkbox { + display: none; + } } }