Openbravo Issue Tracking System - Retail Modules
View Issue Details
0052140Retail ModulesSend By Emailpublic2023-04-17 17:022023-05-16 12:04
axelmercado 
ranjith_qualiantech_com 
highmajorsometimes
closedfixed 
5
 
RR23Q3 
approved
marvintm
OBPS
62455
No
0052140: Problems with ticket size and formatting.
When a customer has a printer larger than the base size of 44, the tickets are poorly printed and the lines are all moved.

In this case a Practics customer has a printer size 48.
Attached are samples of a ticket before and after the size change (before.pdf, after.pdf)

The ticket sent by mail is with the lines moved and badly formatted, you can see in the example ticket.png and email.png. We think it is a problem with OB.UTIL.encodeXMLMultiLineComponent.
N/A
The parter has left his patch, although he believes it should be automatic based on the xml and not a fixed value.
No tags attached.
pdf before.pdf (9,569) 2023-04-17 17:03
https://issues.openbravo.com/file_download.php?file_id=18382&type=bug
pdf after.pdf (9,524) 2023-04-17 17:03
https://issues.openbravo.com/file_download.php?file_id=18383&type=bug
diff TextParser.diff (601) 2023-04-17 17:08
https://issues.openbravo.com/file_download.php?file_id=18384&type=bug
png ticket.png (17,111) 2023-04-17 17:14
https://issues.openbravo.com/file_download.php?file_id=18385&type=bug
png

png email.png (28,572) 2023-04-17 17:14
https://issues.openbravo.com/file_download.php?file_id=18386&type=bug
png
Issue History
2023-04-17 17:02axelmercadoNew Issue
2023-04-17 17:02axelmercadoAssigned To => Retail
2023-04-17 17:02axelmercadoOBNetwork customer => OBPS
2023-04-17 17:02axelmercadoSupport ticket => 62455
2023-04-17 17:02axelmercadoTriggers an Emergency Pack => No
2023-04-17 17:03axelmercadoFile Added: before.pdf
2023-04-17 17:03axelmercadoFile Added: after.pdf
2023-04-17 17:08axelmercadoDescription Updatedbug_revision_view_page.php?rev_id=25884#r25884
2023-04-17 17:08axelmercadoProposed Solution updated
2023-04-17 17:08axelmercadoFile Added: TextParser.diff
2023-04-17 17:14axelmercadoFile Added: ticket.png
2023-04-17 17:14axelmercadoFile Added: email.png
2023-04-17 17:28PracticsIssue Monitored: Practics
2023-04-25 09:30ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2023-04-25 12:50ranjith_qualiantech_comStatusnew => scheduled
2023-04-25 12:51ranjith_qualiantech_comNote Added: 0148847
2023-05-09 08:02hgbotMerge Request Status => open
2023-05-09 08:02hgbotNote Added: 0149460
2023-05-09 08:15hgbotMerge Request Statusopen => approved
2023-05-09 08:15hgbotNote Added: 0149461
2023-05-09 08:15hgbotNote Added: 0149462
2023-05-09 08:16marvintmNote Added: 0149463
2023-05-09 08:16marvintmStatusscheduled => resolved
2023-05-09 08:16marvintmFixed in Version => RR23Q3
2023-05-09 08:16marvintmResolutionopen => fixed
2023-05-09 08:16marvintmReview Assigned To => marvintm
2023-05-09 08:16marvintmStatusresolved => closed
2023-05-16 09:08hgbotNote Added: 0149753
2023-05-16 12:04hgbotNote Added: 0149813
2023-05-16 12:04hgbotNote Added: 0149814

Notes
(0148847)
ranjith_qualiantech_com   
2023-04-25 12:51   
Submitted MR

https://gitlab.com/openbravo/customers/SHARED/org.openbravo.mobile.core.transformxmltopdf/-/merge_requests/4 [^]
(0149460)
hgbot   
2023-05-09 08:02   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1181 [^]
(0149461)
hgbot   
2023-05-09 08:15   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 2331b168f85f689b1ce0fd73b739ec670166d61d
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 09-05-2023 06:15:43
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/2331b168f85f689b1ce0fd73b739ec670166d61d [^]

Related to ISSUE-52140: Added ticket length property in print templates
* If printer size is more then 44, then ticket template length
  can be set in length attribute of ticket tag

---
M web/org.openbravo.retail.posterminal/res/printinvoice.xml
M web/org.openbravo.retail.posterminal/res/printreceipt.xml
M web/org.openbravo.retail.posterminal/res/printsimplifiedinvoice.xml
---
(0149462)
hgbot   
2023-05-09 08:15   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1181 [^]
(0149463)
marvintm   
2023-05-09 08:16   
Please take into account that the changes of MR https://gitlab.com/openbravo/customers/SHARED/org.openbravo.mobile.core.transformxmltopdf/-/merge_requests/4 [^] are also needed
(0149753)
hgbot   
2023-05-16 09:08   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/519 [^]
(0149813)
hgbot   
2023-05-16 12:04   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: 3e3d3f9c6d6a02c9af829d8ded73283b33e39bef
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 16-05-2023 12:10:07
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/3e3d3f9c6d6a02c9af829d8ded73283b33e39bef [^]

Related to ISSUE-52140: Added length property in encodeXMLMultiLineComponent
* When multiline is generated in encodeXMLMultiLineComponent,
  length should be present in text tag

---
M web/org.openbravo.mobile.core/source/utils/ob-xml-encoding-utils.js
---
(0149814)
hgbot   
2023-05-16 12:04   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/519 [^]