Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040864Retail ModulesWeb POSpublic2019-05-13 15:512019-05-31 15:31
ucarrion 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
5
 
RR19Q3 
marvintm
No
0040864: The CL and C&R actions should check if the order has been updated
Cancel Layaway and Cancel&Replace actions should call IsOrderCancelled.java in order to check if there’s a ticket update. This check would contribute not to allow users to do incoherent actions (for example, be able to cancel delivered lines).

In addition, the message shown when a receipt has been updated in the backoffice and the Web POS doesn't have the order with the last changes is always referring to layaways, when the document status can be different. The message shown must be generic for every case, like "not updated DOCUMENT", or should tell about the specific status of the ticket that is being checked: "not updated TICKET", "not updated LAYAWAY", etc.
Following steps will result an incoherent flow :

1. Create a layaway including two lines
2. Pay the layaway totally.
3. (If the ‘Enable Remote Orders’ preference is set to ‘Y’ an order preparation proposal popup will be displaed; in this case, cancel it).
4. Open the order again from ‘Open Receipt’ menu entry
5. Once the order is opened select ‘Prepare current ticket’ menu option
6. In the preparation popup, select only the first line and prepare it.
7. A picking lis twill be created.
8. From backend: assign, confirm and issue the picking list in order to deliver the orderline.
9. Check in Sales Order window that the first line is delivered.
10. Go back to webpos, the order is still opened in the screen
11. Select ‘Cancel this order’ menú option
12. Check that both lines are able to be cancelend being one of them already delivered
No tags attached.
Issue History
2019-05-13 15:51ucarrionNew Issue
2019-05-13 15:51ucarrionAssigned To => Retail
2019-05-13 15:51ucarrionResolution time => 1559512800
2019-05-13 15:51ucarrionTriggers an Emergency Pack => No
2019-05-16 10:14ucarrionDescription Updatedbug_revision_view_page.php?rev_id=18779#r18779
2019-05-24 08:47guillermogilTypefeature request => defect
2019-05-24 13:26ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-05-24 13:26ranjith_qualiantech_comStatusnew => scheduled
2019-05-27 14:25hgbotCheckin
2019-05-27 14:25hgbotNote Added: 0112177
2019-05-27 14:25hgbotStatusscheduled => resolved
2019-05-27 14:25hgbotResolutionopen => fixed
2019-05-27 14:25hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/4a435b3d540a027a224293b0622e295f30abf075 [^]
2019-05-31 15:31marvintmReview Assigned To => marvintm
2019-05-31 15:31marvintmStatusresolved => closed
2019-05-31 15:31marvintmFixed in Version => RR19Q3

Notes
(0112177)
hgbot   
2019-05-27 14:25   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 4a435b3d540a027a224293b0622e295f30abf075
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Mon May 27 17:48:37 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/4a435b3d540a027a224293b0622e295f30abf075 [^]

Fixed issue 40864 : Order should be checked with outdated data before canceling the order

* POS Order and Orderlines should be checked with Backoffice for updated data before cancelling the order

---
M src/org/openbravo/retail/posterminal/process/IsOrderCancelled.java
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
M web/org.openbravo.retail.posterminal/js/utils/ticketCloseUtils.js
---