Openbravo Issue Tracking System - Retail Modules
View Issue Details
0043723Retail ModulesSelfcheckoutpublic2020-04-14 05:522020-04-30 17:30
jorgewederago 
prakashmurugesan88 
highmajoralways
closedfixed 
5
 
RR20Q3 
marvintm
No
0043723: It is possible to generate payments with amount 0 when starting a transaction in WebPOS and finishing it in SCO
It is possible to generate a JSON Order where one payment has amount 0 and this could cause malfunctions in other functionalities.
1.-Open a terminal which is configured as SCO
2.-In WebPOS mode add a payment which has paymentData or generate it doing something like OB.MobileApp.model.receipt.get('payments').at(0).set('paymentData',{paymentData1:'1234'})
This payment should be for the total amount of the ticket.
3.-Change to SCO mode
4.-Add a new payment which also has paymentData (should be different to the previous one)
5.-Finish the transaction
6.-Check the JSON sent/received to/in backoffice
7.-Check the Sales order in the sales order window. The payments could have been generated wrongly.
No tags attached.
causes defect 0045207 closed prakashmurugesan88 It is not possible to navigate to SCO in case there is a partial payment 
Issue History
2020-04-14 05:52jorgewederagoNew Issue
2020-04-14 05:52jorgewederagoAssigned To => Retail
2020-04-14 05:52jorgewederagoResolution time => 1588629600
2020-04-14 05:52jorgewederagoTriggers an Emergency Pack => No
2020-04-14 05:52jorgewederagoSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=20750#r20750
2020-04-28 08:21jorgewederagoSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=20899#r20899
2020-04-28 08:32jorgewederagoSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=20900#r20900
2020-04-29 14:55prakashmurugesan88Assigned ToRetail => prakashmurugesan88
2020-04-29 14:56prakashmurugesan88Statusnew => scheduled
2020-04-30 07:03hgbotCheckin
2020-04-30 07:03hgbotNote Added: 0119501
2020-04-30 07:03hgbotStatusscheduled => resolved
2020-04-30 07:03hgbotResolutionopen => fixed
2020-04-30 07:03hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.selfcheckout/rev/e73f4491be4db7a568bfc01b733f24dcf4f7fd32 [^]
2020-04-30 17:30marvintmReview Assigned To => marvintm
2020-04-30 17:30marvintmStatusresolved => closed
2020-04-30 17:30marvintmFixed in Version => RR20Q3
2020-10-08 10:43guillermogilRelationship addedcauses 0045207

Notes
(0119501)
hgbot   
2020-04-30 07:03   
Repository: erp/pmods/org.openbravo.retail.selfcheckout
Changeset: e73f4491be4db7a568bfc01b733f24dcf4f7fd32
Author: Prakash M <prakash <at> qualiantech.com>
Date: Thu Apr 30 10:33:12 2020 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.selfcheckout/rev/e73f4491be4db7a568bfc01b733f24dcf4f7fd32 [^]

Fixed BUG-43723: Navigating from WEBPOS to SCO with payments created wrong
payments

* Restricted navigation to SCO from WEBPOS with payments

---
M web/org.openbravo.retail.selfcheckout/source/view/scoModel.js
---