Openbravo Issue Tracking System - Retail Modules
View Issue Details
0044909Retail ModulesWeb POSpublic2020-08-27 10:252020-08-31 08:26
nicola_uva 
prakashmurugesan88 
normalminoralways
closedfixed 
5
 
piRR20Q4 
No
0044909: XML template is printed when the cancel operation is set to true
XML template is printed when the cancel operation is set to true
1) create a custom module
2) Implement OBPRINT_PrePrint hook and set args.cancelOperation = true
3) Open the HW
4) Login in the WEBPOS
5) pay fully the receipt
6) check the HW. The ticket is printed.

In org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-print.js just add a "return resolve();" when the args.cancelOperation is set to true.
No tags attached.
related to defect 0044995 closed Retail Review doPrint promise to find non-returned return points 
diff proposalSolution.diff (616) 2020-08-27 10:25
https://issues.openbravo.com/file_download.php?file_id=14902&type=bug
Issue History
2020-08-27 10:25nicola_uvaNew Issue
2020-08-27 10:25nicola_uvaAssigned To => Retail
2020-08-27 10:25nicola_uvaFile Added: proposalSolution.diff
2020-08-27 10:25nicola_uvaTriggers an Emergency Pack => No
2020-08-27 10:29javietxeResolution time => 1600293600
2020-08-27 12:06prakashmurugesan88Assigned ToRetail => prakashmurugesan88
2020-08-27 12:08prakashmurugesan88Statusnew => scheduled
2020-08-28 06:53hgbotNote Added: 0122397
2020-08-31 08:26hgbotResolutionopen => fixed
2020-08-31 08:26hgbotStatusscheduled => closed
2020-08-31 08:26hgbotFixed in Version => RR20Q4
2020-08-31 08:26hgbotNote Added: 0122453
2020-08-31 08:26hgbotNote Added: 0122454
2020-09-04 16:29jarmendarizRelationship addedrelated to 0044995

Notes
(0122397)
hgbot   
2020-08-28 06:53   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/73 [^]
(0122453)
hgbot   
2020-08-31 08:26   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 2efc3e1145381a1ddbdfef2c2bfc5527aae130f7
Author: Prakash M <prakash@qualiantech.com>
Date: 2020-08-31T10:20:17+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/2efc3e1145381a1ddbdfef2c2bfc5527aae130f7 [^]

Fixed BUG-44909: Fixed XML template is printed even if cancel operation is true in callback of OBPRINT_PrePrint hook

---
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-print.js
---
(0122454)
hgbot   
2020-08-31 08:26   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/73 [^]