Openbravo Issue Tracking System - Modules
View Issue Details
0054971ModulesReportingpublic2024-03-15 13:362024-04-12 09:39
eugen_hamuraru 
eugen_hamuraru 
normalminorN/A
closedfixed 
5
 
 
0054971: Ability to reprint XML reprintable documents from backoffice
Currently is not possible to reprint from the backoffice the XML reprintable documents generated in the POS. In this case, an error is thrown.

It would be nice if, instead of failing, that XML document was transformed automatically and into PDF format so it can be downloaded from backoffice. All in a transparent way for the user.
Having the immutable reports feature enabled:

1- Create a ticket in the POS
2- Go to the [Sales Order] window and select the newly created order
3- Click on the reprint button. An error is shown informing that the document cannot be reprinted
No tags attached.
related to feature request 0052134 closed Triage Platform Base Openbravo ERP Support Immutable Printable Reports 
Issue History
2024-03-15 13:36eugen_hamuraruNew Issue
2024-03-15 13:36eugen_hamuraruAssigned To => Triage Omni WMS
2024-03-15 13:36eugen_hamuraruAssigned ToTriage Omni WMS => eugen_hamuraru
2024-03-15 13:52hgbotNote Added: 0162236
2024-03-21 17:32hgbotNote Added: 0162512
2024-03-25 10:20hgbotNote Added: 0162578
2024-03-25 10:22hgbotNote Added: 0162579
2024-03-25 10:23hgbotNote Added: 0162580
2024-03-25 10:50hgbotResolutionopen => fixed
2024-03-25 10:50hgbotStatusnew => closed
2024-03-25 10:50hgbotFixed in Version => PR24Q2
2024-03-25 10:50hgbotNote Added: 0162583
2024-03-25 10:50hgbotNote Added: 0162584
2024-04-12 09:35caristuTypedefect => feature request
2024-04-12 09:35caristuFixed in VersionPR24Q2 =>
2024-04-12 09:35caristuSummaryThe PDF of a document printed/email via POS is linked to the proper record: if it is a ticket/return, simplified invoice/invoice => Ability to reprint XML reprintable documents from backoffice
2024-04-12 09:35caristuDescription Updatedbug_revision_view_page.php?rev_id=27803#r27803
2024-04-12 09:37caristuDescription Updatedbug_revision_view_page.php?rev_id=27804#r27804
2024-04-12 09:37caristuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=27806#r27806
2024-04-12 09:39caristuRelationship addedrelated to 0052134

Notes
(0162236)
hgbot   
2024-03-15 13:52   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1175 [^]
(0162512)
hgbot   
2024-03-21 17:32   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/684 [^]
(0162578)
hgbot   
2024-03-25 10:20   
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/684 [^]
(0162579)
hgbot   
2024-03-25 10:22   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/684 [^]
(0162580)
hgbot   
2024-03-25 10:23   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: c621fc4bafa7bf9b81cf6f3dbef4e07a332fa687
Author: Eugen Hamuraru <eugen.hamuraru@openbravo.com>
Date: 25-03-2024 09:21:16
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/c621fc4bafa7bf9b81cf6f3dbef4e07a332fa687 [^]

Related to ISSUE-54971: add XMLtoPDF transformer implementation

---
A src/org/openbravo/mobile/core/XMLtoPDFReprintableDocumentTransformer.java
---
(0162583)
hgbot   
2024-03-25 10:50   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: b9418587ace4e12a3b6f288d09ae0620b929a063
Author: Eugen Hamuraru <eugen.hamuraru@openbravo.com>
Date: 25-03-2024 09:50:32
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/b9418587ace4e12a3b6f288d09ae0620b929a063 [^]

Fixes FR-54971: add hook to transform reprintable document format to PDF

---
A modules/org.openbravo.client.application/src/org/openbravo/client/application/attachment/ReprintableDocumentFormat.java
A modules/org.openbravo.client.application/src/org/openbravo/client/application/attachment/ReprintableDocumentFormatSelector.java
A modules/org.openbravo.client.application/src/org/openbravo/client/application/attachment/ReprintableDocumentTransformer.java
A modules/org.openbravo.client.application/src/org/openbravo/client/application/attachment/TransformerNotFoundException.java
M modules/org.openbravo.client.application/src/org/openbravo/client/application/attachment/ReprintableDocumentManager.java
M src-test/src/org/openbravo/client/application/attachment/ReprintableDocumentTest.java
M src/org/openbravo/erpCommon/utility/reporting/ReportManager.java
M src/org/openbravo/erpCommon/utility/reporting/printing/PrintController.java
---
(0162584)
hgbot   
2024-03-25 10:50   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1175 [^]