Openbravo Issue Tracking System - POS2
View Issue Details
0058114POS2Corepublic2025-02-28 14:252025-03-27 11:55
alostale 
adrianromero 
normalmajorhave not tried
closedduplicate 
5
 
 
open
OBPS
No
0058114: pdf from xml generation has low performance
When a POS ticket is emailed or reprinted as immutable report and its original template was a XML for thermal printer, the performance to generate it is very poor.
1. Enable DEBUG log level for org.openbravo.mobile.transformtopdf.TicketParser
2. Create a POS ticket and send it by email

Check the logs (example here for a ticket with a single line, attached as reference):
 Ticket parsed in 2369 ms.
 HTML document generated in 21 ms.
 PDF generated in 1070 ms.
No tags attached.
xml VBS2-0000250.xml (8,800) 2025-02-28 14:27
https://issues.openbravo.com/file_download.php?file_id=20985&type=bug
Issue History
2025-02-28 14:25alostaleNew Issue
2025-02-28 14:25alostaleAssigned To => Triage Platform Base
2025-02-28 14:25alostaleOBNetwork customer => No
2025-02-28 14:25alostaleTriggers an Emergency Pack => No
2025-02-28 14:27alostaleFile Added: VBS2-0000250.xml
2025-02-28 14:28alostaleSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=29298#r29298
2025-02-28 15:35hgbotMerge Request Status => open
2025-02-28 15:35hgbotNote Added: 0176316
2025-03-03 09:50adrianromeroOBNetwork customerNo => OBPS
2025-03-03 09:50adrianromeroAssigned ToTriage Platform Base => adrianromero
2025-03-03 09:50adrianromeroSeverityminor => major
2025-03-13 17:45hgbotNote Added: 0176806
2025-03-20 10:41hgbotNote Added: 0177010
2025-03-27 11:55hgbotNote Added: 0177322
2025-03-27 11:55hgbotStatusnew => closed
2025-03-27 11:55hgbotResolutionopen => duplicate

Notes
(0176316)
hgbot   
2025-02-28 15:35   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.mobile.transformtopdf/-/merge_requests/11 [^]
(0176806)
hgbot   
2025-03-13 17:45   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.mobile.transformtopdf/-/merge_requests/12 [^]
(0177010)
hgbot   
2025-03-20 10:41   
Merge request closed: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.mobile.transformtopdf/-/merge_requests/11 [^]
(0177322)
hgbot   
2025-03-27 11:55   
Issue exported to Jira: https://openbravo.atlassian.net/browse/RM-24054 [^]