Openbravo Issue Tracking System - Retail Modules
View Issue Details
0034030Retail ModulesWeb POSpublic2016-08-02 09:132016-10-13 09:31
airaceburu 
jorge-garcia 
normalminoralways
closedfixed 
5
 
RR16Q3.2RR16Q3.2 
guilleaer
No
0034030: PreDeleteCurrentOrderHook is not called either from the cashup or from the logout
PreDeleteCurrentOrderHook is not called either from the cashup or from the logout
Login
Place a breakpoint in PreDeleteCurrentOrderHook
Add one item to the receipt
Logout
Verify that the execution is not stopped
--
Login
Place a breakpoint in PreDeleteCurrentOrderHook
Add one item to the receipt
Click on Cashup in the main menu
Click on delete (the current order)
Verify that the execution is not stopped
No tags attached.
blocks defect 0033587 closed jorge-garcia PreDeleteCurrentOrderHook is not called either from the cashup or from the logout 
Issue History
2016-09-20 12:11marvintmTypedefect => backport
2016-09-20 12:11marvintmTarget Version => RR16Q3.2
2016-09-23 11:20hgbotCheckin
2016-09-23 11:20hgbotNote Added: 0090199
2016-09-23 11:20hgbotCheckin
2016-09-23 11:20hgbotNote Added: 0090200
2016-09-23 11:20hgbotStatusscheduled => resolved
2016-09-23 11:20hgbotResolutionopen => fixed
2016-09-23 11:20hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/5fc2b2fbce73b592f8b62cc977da7460f4fa503f [^] => http://code.openbravo.com/retail/backports/3.0RR16Q3.2/org.openbravo.retail.posterminal/rev/db7bb210f8084517c2530cf076eb417f3f2beecd [^]
2016-09-23 11:20hgbotCheckin
2016-09-23 11:20hgbotNote Added: 0090201
2016-09-26 23:07guilleaerStatusresolved => closed
2016-09-26 23:07guilleaerFixed in Version => RR16Q3.2
2016-10-13 09:31hgbotCheckin
2016-10-13 09:31hgbotNote Added: 0090548

Notes
(0090199)
hgbot   
2016-09-23 11:20   
Repository: retail/backports/3.0RR16Q3.2/pi-mobile
Changeset: f8551d4a98dcc374f11d1402ece38edb7930cce8
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Fri Sep 23 11:19:44 2016 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR16Q3.2/pi-mobile/rev/f8551d4a98dcc374f11d1402ece38edb7930cce8 [^]

Related to issue 34030: Added automated test

---
A src-test/org/openbravo/test/mobile/quarantine/pack/MCA/receipts/I33587_VerifyDeleteReceiptWithPreDeleteOrderHook.java
---
(0090200)
hgbot   
2016-09-23 11:20   
Repository: retail/backports/3.0RR16Q3.2/org.openbravo.retail.posterminal
Changeset: db7bb210f8084517c2530cf076eb417f3f2beecd
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Fri Sep 23 11:17:37 2016 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR16Q3.2/org.openbravo.retail.posterminal/rev/db7bb210f8084517c2530cf076eb417f3f2beecd [^]

Fixed issue 34030: Moved the hook OBPOS_PreDeleteCurrentOrder from pointOfSales to order.
Now can be called the function deleteOrder when delete a receipt.


Centralize the functionality to delete a ticket keeping in mind all the flows
that use this functionality:

* Delete Tickets from the Point of sale Window
* Delete ticket from the CashUp Window
* Delete ticket in the logout

Also implemented the part where the user wants to save delete tickets from
the WebPOS.

Change the logout funtionality to close always the active session.

Fix JSlint errors of previous fixes.

---
M web/org.openbravo.retail.posterminal/js/closecash/view/tabpendingreceipts.js
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
M web/org.openbravo.retail.posterminal/js/model/order.js
M web/org.openbravo.retail.posterminal/js/pointofsale/view/pointofsale.js
---
(0090201)
hgbot   
2016-09-23 11:20   
Repository: retail/backports/3.0RR16Q3.2/org.openbravo.mobile.core
Changeset: dc3e62248933b023ebe6d11a12d18c762e8d7031
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Fri Sep 23 11:05:54 2016 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR16Q3.2/org.openbravo.mobile.core/rev/dc3e62248933b023ebe6d11a12d18c762e8d7031 [^]

Related to issue 34030: PreDeleteCurrentOrderHook is not called either from
the cashup or from the logout

Centralize the functionality to delete a ticket keeping in mind all the flows
that use this functionality:

* Delete Tickets from the Point of sale Window
* Delete ticket from the CashUp Window
* Delete ticket in the logout

Also implemented the part where the user wants to save delete tickets from
the WebPOS.

Change the lock funtionality to not close the session and don't delete the
pending orders.

---
M web/org.openbravo.mobile.core/source/component/dialog/ob-logout.js
M web/org.openbravo.mobile.core/source/model/ob-terminal-model.js
---
(0090548)
hgbot   
2016-10-13 09:31   
Repository: tools/automation/pi-mobile
Changeset: f8551d4a98dcc374f11d1402ece38edb7930cce8
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Fri Sep 23 11:19:44 2016 +0200
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/f8551d4a98dcc374f11d1402ece38edb7930cce8 [^]

Related to issue 34030: Added automated test

---
A src-test/org/openbravo/test/mobile/quarantine/pack/MCA/receipts/I33587_VerifyDeleteReceiptWithPreDeleteOrderHook.java
---