Openbravo Issue Tracking System - Retail Modules
View Issue Details
0055054Retail ModulesSend By Emailpublic2024-03-26 11:452024-04-16 14:36
Leyre 
jorgewederago 
highmajoralways
closedfixed 
5
 
 
No
0055054: Error in the QR code when sending the Web POS ticket by email.
Error in the QR code when sending the Web POS ticket by email.
- In an updated and standard Openbravo environment, add the modules org.openbravo.mobile.core.transformjrxmltopdf and org.openbravo.mobile.core.transformxmltopdf.

- Configure the previous environment to send tickets by email from Web POS.

- Modify the standard printreceipt.xml template to add a QR code like this:
<line><qr><%= OB.UTIL.encodeXMLComponent('https://admin.factura.gob.sv/consultaPublica?ambiente=00&codGen=19F32059-5464-0CF0-D191-49D50E626350&fechaEmi=2024-03-25' [^]) %></qr></line>

- Verify that the Organization that you are going to use, is using the previous template (Organization -> Web POS Formats -> Print Ticket Template).

- Refresh the Terminal, create a ticket and choose to send it by email.

Result: The QR code appears duplicated multiple times instead of just once. See attached file.

Note: The printing of the QR code in the HWM is correct, it only appears once.
No tags attached.
pdf 82F931E03CD34614B12C7DD7D817AD6F.tmp.pdf (51,238) 2024-03-26 11:45
https://issues.openbravo.com/file_download.php?file_id=19586&type=bug
Issue History
2024-03-26 11:45LeyreNew Issue
2024-03-26 11:45LeyreAssigned To => Retail
2024-03-26 11:45LeyreFile Added: 82F931E03CD34614B12C7DD7D817AD6F.tmp.pdf
2024-03-26 11:45LeyreTriggers an Emergency Pack => No
2024-03-26 11:47PracticsIssue Monitored: Practics
2024-04-09 15:03jorgewederagoStatusnew => scheduled
2024-04-09 15:03jorgewederagoAssigned ToRetail => jorgewederago
2024-04-16 14:36jorgewederagoNote Added: 0163289
2024-04-16 14:36jorgewederagoStatusscheduled => resolved
2024-04-16 14:36jorgewederagoResolutionopen => fixed
2024-04-16 14:36jorgewederagoStatusresolved => closed

Notes
(0163289)
jorgewederago   
2024-04-16 14:36   
Fixed in: https://gitlab.com/openbravo/customers/SHARED/org.openbravo.mobile.core.transformxmltopdf/-/commit/5fcc8a2f08e742c76d37ef172ae13dca5ef99d21 [^]