Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0014425 | Openbravo ERP | Z. Others | public | 2010-09-03 14:25 | 2022-02-01 08:09 |
Reporter | dbaz | ||||
Assigned To | Triage Platform Base | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | new | Resolution | out of date | ||
Platform | OS | 5 | OS Version | ||
Product Version | 2.50 | ||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Web browser | |||||
Modules | Smartclient | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0014425: "File->Print" in the browser should print a consistent view | ||||
Description | If you not define a specific way, the browser will try to print what is shown in the window (even each browser output is slightly different for the same thing). If there is an scroll maybe you print all the content or maybe just what you are seeing (it depends of the html structure and the browser), so you finally have in the sheet more or less just what you are seeing in the screen. The standard way to solve this, is by adding a print CSS, so the output will be the same independently of the browser size or type All classic OB windows have a print CSS file <LINK rel="stylesheet" type="text/css" media="print" href="../web/skins/ltr/Default/Openbravo_ERP_print.css" id="paramCSS_print"></LINK> which basically is a call to this simple file https://code.openbravo.com/erp/devel/pi/file/6694399f367d/web/skins/Default/Openbravo_ERP_250_print.css [^] With this we obtain (in 2.50) that if you make a "File -> Print" the menu doesn't appear, it print all the form (even if there is a scroll), and the four/six columns fits perfectly the A4 sheet width. PD: This topic comes to avoid a regression of this issue when going from 2.50 to 3.00 https://issues.openbravo.com/view.php?id=8975 [^] | ||||
Steps To Reproduce | |||||
Proposed Solution | There should be a research to determine if Smartclient provides a way of set a print CSS somehow. If not, maybe since these CSS are very simple, one (out of Smartclient) can be developed just with some fixed widths and height (to ensure the full page width is printed in the sheet) and import it in the index.html | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2010-09-03 14:25 | dbaz | New Issue | |||
2010-09-03 14:25 | dbaz | Assigned To | => mtaal | ||
2010-12-06 07:48 | alostale | Status | new => scheduled | ||
2011-09-07 12:54 | mtaal | Type | defect => feature request | ||
2016-10-21 11:04 | mtaal | Status | scheduled => closed | ||
2016-10-21 11:04 | mtaal | Resolution | open => out of date | ||
2016-10-21 13:17 | mtaal | Tag Attached: MT_closed_out_of_date | |||
2016-10-21 14:08 | mtaal | Assigned To | mtaal => platform | ||
2016-10-21 14:09 | mtaal | Status | closed => new | ||
2016-10-21 14:12 | mtaal | Tag Detached: MT_closed_out_of_date | |||
2022-02-01 08:09 | alostale | Assigned To | platform => Triage Platform Base |
There are no notes attached to this issue. |