[ADD] addons to get a proper print of only the data shown in an OpenERP

screen
This commit is contained in:
Holger Brunn
2013-06-10 14:52:02 +02:00
parent 470dd0cb2a
commit daa6d25c29
3 changed files with 97 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
@media print
{
.view-manager-main-sidebar,
.oe_view_manager_menu_tips,
.oe_vm_switch,
.oe_form_header,
.oe-list-pager,
.oe-listview-content thead tr:first-child,
.oe-listview-header-columns th:first-child,
.oe-listview-header-columns th:nth-child(2),
.oe-record-selector,
.oe-record-edit-link,
.oe-record-delete,
.oe_debug_view,
.oe_searchable_view,
.oe-process-view,
#oe_secondary_menu,
table.main_table > tbody > tr:first-child,
table.main_table > tbody > tr:last-child,
.view-manager-main-content > div[id$=search]
{
display: none;
}
*
{
height: auto !important;
width: auto !important;
overflow: show !important;
}
}