Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0005558 | Openbravo ERP | B. User interface | public | 2008-10-17 11:10 | 2009-06-17 18:38 |
|
Reporter | networkb | |
Assigned To | iperdomo | |
Priority | immediate | Severity | minor | Reproducibility | always |
Status | closed | Resolution | no change required | |
Platform | | OS | 20 | OS Version | |
Product Version | 2.40 | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0005558: Direct print option works only in specific configurations |
Description | We have been able to use direct print option in some environments, specifically internet explorer + acrobat reader, but not in most of them. By use we mean that the pdf was opened and print dialog of the application appeared.
Using firefox + kpdf | xpdf | acrobat there was no luck. Pdf file gets simply opened, but no print dialog appears. |
Steps To Reproduce | 1. Go to Application Dictionary || Report and Process || Report & Process.
2. Select RptC_Invoice
3. Check Direct Print
4. Go to any Sales Order
5. Click on the print button on the header
6. PDF gets opened. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0007025 | | closed | iperdomo | Parameter and "loading" Windows do not close when runing a process | related to | design defect | 0009121 | | acknowledged | Triage Platform Base | Refactor Print & Email component | depends on | backport | 0005593 | | closed | iperdomo | Direct print option works only in specific configurations |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2008-10-17 11:10 | jacoboGiralt | New Issue | |
2008-10-17 11:10 | jacoboGiralt | Assigned To | => cromero |
2008-10-17 11:10 | jacoboGiralt | sf_bug_id | 0 => 2174290 |
2008-10-20 11:50 | psarobe | Status | new => scheduled |
2008-10-20 11:50 | psarobe | fix_in_branch | => trunk |
2008-11-10 13:04 | cromero | Assigned To | cromero => rafaroda |
2008-11-13 21:59 | rafaroda | Assigned To | rafaroda => pheenan |
2009-03-24 10:54 | AinhoaPagola | Assigned To | pheenan => gmauleon |
2009-06-09 18:26 | networkb | Reporter | jacoboGiralt => networkb |
2009-06-09 18:26 | networkb | Priority | normal => immediate |
2009-06-09 18:26 | networkb | fix_in_branch | pi => |
2009-06-12 12:40 | gmauleon | Assigned To | gmauleon => iciordia |
2009-06-15 15:32 | iciordia | Note Added: 0017310 | |
2009-06-15 15:32 | iciordia | Status | scheduled => feedback |
2009-06-16 11:03 | iciordia | Assigned To | iciordia => dbaz |
2009-06-16 11:04 | iciordia | Status | feedback => scheduled |
2009-06-16 11:04 | iciordia | Note Added: 0017338 | |
2009-06-16 11:04 | iciordia | fix_in_branch | => pi |
2009-06-16 12:55 | dbaz | Note Added: 0017345 | |
2009-06-16 12:55 | dbaz | Assigned To | dbaz => networkb |
2009-06-16 13:14 | dbaz | Assigned To | networkb => dbaz |
2009-06-16 19:33 | dbaz | Note Added: 0017364 | |
2009-06-16 19:34 | dbaz | Relationship added | related to 0007025 |
2009-06-16 20:01 | dbaz | Note Added: 0017369 | |
2009-06-17 11:10 | dbaz | Assigned To | dbaz => iperdomo |
2009-06-17 18:37 | iperdomo | Relationship added | related to 0009121 |
2009-06-17 18:38 | iperdomo | Status | scheduled => closed |
2009-06-17 18:38 | iperdomo | Note Added: 0017398 | |
2009-06-17 18:38 | iperdomo | Resolution | open => no change required |
Notes |
|
|
We have tested direct print in customer environment (IE7) and it works. 2nd level support will get more information from customer side.
It fails on FF but we will fix this bug with standard priority (high for this bug).
Ismael |
|
|
|
Tested in the customer side (2.40 MP3) it does not work |
|
|
(0017345)
|
dbaz
|
2009-06-16 12:55
|
|
Please do the following test in 2.40 (latest version) and check the following:
Edit the file src/org/openbravo/erpCommon/businessUtility/PrinterReports.html
There are two functions
function printReport(pagina) {
abrirPDF(pagina, 'PDF');
return true;
}
and
function printReport(pagina) {
Pdf1.printWithDialog();
}
add the following alerts, so the functions should be as
function printReport(pagina) {
alert('isPrintPreview');
abrirPDF(pagina, 'PDF');
return true;
}
and
function printReport(pagina) {
alert('isDirectPrint');
Pdf1.printWithDialog();
}
And then do the steps to reproduce.
Reassign me the bug telling me your results.
Thanks |
|
|
(0017364)
|
dbaz
|
2009-06-16 19:33
|
|
|
|
(0017369)
|
dbaz
|
2009-06-16 20:01
|
|
There are two problems:
1. Despite for networkb works, for me although I do the steps of reproduce, it seems that "direct print" option doesn't run because for me it always enters by the first function printReport(pagina) { of the previous code. To test purposes and avoid this problem, I have changed
var direct = (strDirectPrinting!="")?"Y":"N";
to
var direct = (strDirectPrinting!="")?"Y":"Y";
in function abrirPDFSession(strPagina, strDirectPrinting, strHiddenKey, strHiddenValue, bolComprobarCambios) {
2. Once the first problem is avoided, another problem appears, which is related to the previous comment. The method to invoke pdfs has changed and has to be reviewed in order to change the call |
|
|
|
The direct printing option should be handled by the refactored Print & Email component. |
|