Openbravo Issue Tracking System - Retail Modules
View Issue Details
0038025Retail ModulesWeb POSpublic2018-03-01 18:282018-03-23 10:44
malsasua 
gorka_gil 
normalminoralways
closedfixed 
5
 
RR18Q2 
marvintm
No
0038025: Allow configure if new receipt is created or not with tickets opened
when there are several tickets opened in the POS, when you complete one of them, previous ticket is displayed, no new blank receipt is created.

It should be possible to configure if the new receipt is created or previous ticket is displayed
POS:
. create new ticket (receipt1)
. add line (no pay)
. create new ticket (receipt2)
. add line
. pay receipt2
ticket receipt1 is displayed
in this line:
https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/68f5363f9f46/web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js#l414 [^]
Add a condition checking the new preference,
if true:
orderList.deleteCurrent(true);
else
orderList.deleteCurrent();
No tags attached.
? patch38025_dkt.dif (5,338) 2018-03-06 10:25
https://issues.openbravo.com/file_download.php?file_id=11617&type=bug
Issue History
2018-03-01 18:28malsasuaNew Issue
2018-03-01 18:28malsasuaAssigned To => Retail
2018-03-01 18:28malsasuaResolution time => 1521586800
2018-03-01 18:28malsasuaTriggers an Emergency Pack => No
2018-03-01 18:37malsasuaProposed Solution updated
2018-03-06 10:25malsasuaFile Added: patch38025_dkt.dif
2018-03-13 13:28gorka_gilAssigned ToRetail => gorka_gil
2018-03-22 14:17hgbotCheckin
2018-03-22 14:17hgbotNote Added: 0103430
2018-03-22 14:17hgbotStatusnew => resolved
2018-03-22 14:17hgbotResolutionopen => fixed
2018-03-22 14:17hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/729e2d02846f906193a77392c62ac476355290a0 [^]
2018-03-23 10:44marvintmReview Assigned To => marvintm
2018-03-23 10:44marvintmStatusresolved => closed
2018-03-23 10:44marvintmFixed in Version => RR18Q2

Notes
(0103430)
hgbot   
2018-03-22 14:17   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 729e2d02846f906193a77392c62ac476355290a0
Author: Gorka Gil <gorka.gil <at> openbravo.com>
Date: Tue Mar 20 19:00:27 2018 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/729e2d02846f906193a77392c62ac476355290a0 [^]

Fixes issue 38025: Added preference OBPOS_alwaysCreateNewReceiptAfterPayReceipt

---
M src-db/database/sourcedata/AD_REF_LIST.xml
M web/org.openbravo.retail.posterminal/js/utils/ticketCloseUtils.js
---