Openbravo Issue Tracking System - Retail Modules
View Issue Details
0044486Retail ModulesWeb POSpublic2020-06-25 11:322020-06-26 09:39
guillermogil 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
5
 
RR20Q3 
marvintm
2020-07-12
No
0044486: runSyncProcess is not executed after a ticket is removed on the cashUp
runSyncProcess is not executed after a ticket is removed on the cashUp, if we stay on cashup window for ages that ticket is not synched.
Configure the "Save removed tickets" preference.
Login on POS
Add a Product
Click Menu Entry
Click Cashup
Delete the Draft Order

runSyncProcess is not executed.

Realise that the ticket has been removed and is pending to be synchronised, but it is not synchronised until the cashup is fully processed. This is wrong, it should be synchronised just after it is deleted.
No tags attached.
Issue History
2020-06-25 11:32guillermogilNew Issue
2020-06-25 11:32guillermogilAssigned To => Retail
2020-06-25 11:32guillermogilRegression date => 2020-07-12
2020-06-25 11:32guillermogilTriggers an Emergency Pack => No
2020-06-25 11:33guillermogilRelationship addedrelated to 0044473
2020-06-25 11:37marvintmSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=21235#r21235
2020-06-25 11:46ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2020-06-25 11:47ranjith_qualiantech_comStatusnew => scheduled
2020-06-26 04:52hgbotCheckin
2020-06-26 04:52hgbotNote Added: 0121093
2020-06-26 04:52hgbotStatusscheduled => resolved
2020-06-26 04:52hgbotResolutionopen => fixed
2020-06-26 04:52hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6bed37d9dc56d326685fe39c06b36b03cfbedd4c [^]
2020-06-26 09:39marvintmReview Assigned To => marvintm
2020-06-26 09:39marvintmStatusresolved => closed
2020-06-26 09:39marvintmFixed in Version => RR20Q3

Notes
(0121093)
hgbot   
2020-06-26 04:52   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 6bed37d9dc56d326685fe39c06b36b03cfbedd4c
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri Jun 26 08:21:58 2020 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/6bed37d9dc56d326685fe39c06b36b03cfbedd4c [^]

Fixed issue-44486: RunSync process should be called after deleting receipt

* If Pref. Save Remove Tickets is enabled, when deleting the ticket,
  runsync process should be called
* Refactored by replacing callback param with finalCallback method

---
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/pointofsale.js
---