|
* Testing of the issue:
To test the issue, as Openbravo Admin, follow the steps to reproduce and verify that the pdf is properly generated.
* Explanation of the changeset that fixes the issue:
The changeset that fix this issue consist in the modification of the file ReportPriceList.html to return a file with extension .html instead .pdf that is the correct extension because actually the generated file is a .html file and inside the html file there is a link to the correct .pdf file
* Other areas affected by the changeset:
Other areas affected are all html reports that are invoked using the javascript function openServletNewWindow() that returns a file with extension .pdf. All these html files has been tested and works:
works ./ReportToInvoiceConsignmentJR.html: onclick="openServletNewWindow('FIND', true, 'ReportToInvoiceConsignmentJR.pdf', 'ReportToInvoiceConsignmentJR', null, false, '700', '1000', true);return false;"
not found ./ReportWarehouseDetailInventoryJR.html: onclick="openServletNewWindow('FIND', false, 'ReportWarehouseDetailInventoryJR.pdf', 'ReportWarehouseDetailInventoryJR', null, false, '700', '1000', true);return false;"
works ./ReportShipmentFilterJR.html: onclick="openServletNewWindow('EDIT_PDF', false, 'ReportShipmentEditionJR.pdf', 'ReportShipmentEditionJR', null, false, '700', '1000', true);return false;"
not found ./ReportProduction.html: onclick="openServletNewWindow('FIND', false, 'ReportProductionPDF.pdf', 'ReportProductionPDF', null, false, '700', '1000', true);return false;"
works ./ReportMaterialTransactionFilter.html: onclick="openServletNewWindow('EDIT_PDF', false, 'ReportMaterialTransactionEdition.pdf', 'ReportMaterialTransactionEdition', null, false, '700', '1000', true);return false;"
not found ./ReportToInvoiceConsignment.html: onclick="openServletNewWindow('FIND', false, 'ReportToInvoiceConsignment.pdf', 'ReportToInvoiceConsignment', null, false, '700', '1000', true);return false;"
works ./ReportProjectProgress.html: onclick="openServletNewWindow('PDF', true, 'ReportProjectProgress.pdf', 'ReportProjectProgress', null, false, '700', '1024', true);return false;"
works ./ReportMaterialTransactionEditionJR.html: onclick="openServletNewWindow('EDIT_PDF', false, 'ReportMaterialTransactionEditionJR.pdf', 'ReportMaterialTransactionEditionJR', null, false, '700', '1000', true);return false;"
works ./ReportPurchaseDimensionalAnalysesFilterJR.html: onclick="openServletNewWindow('EDIT_PDF', true, 'ReportPurchaseDimensionalJR.pdf', 'ReportPurchaseDimensionalAnalysesFilterJR', null, false, '700', '1000', true);return false;"
works ./ReportProjectProfitabilityJR.html: onclick="openServletNewWindow('PDF', true, 'ReportProjectProfitabilityJR.pdf', 'ReportProjectProfitabilityJR', null, false, '700', '1024', true);return false;"
works ./ReportProjectBuildingSiteJR.html: onclick="openServletNewWindow('PDF', true, 'ReportProjectBuildingSiteJR.pdf', 'ReportProjectBuildingSiteJR', null, false, '700', '1024', true);return false;" |
|