Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034030
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSminoralways2016-08-02 09:132016-10-13 09:31
ReporterairaceburuView Statuspublic 
Assigned Tojorge-garcia 
PrioritynormalResolutionfixedFixed in VersionRR16Q3.2
StatusclosedFix in branchFixed in SCM revisiondb7bb210f808
ProjectionnoneETAnoneTarget VersionRR16Q3.2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toguilleaer
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0034030: PreDeleteCurrentOrderHook is not called either from the cashup or from the logout

DescriptionPreDeleteCurrentOrderHook is not called either from the cashup or from the logout
Steps To ReproduceLogin
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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0033587 closedjorge-garcia PreDeleteCurrentOrderHook is not called either from the cashup or from the logout 

-  Notes
(0090199)
hgbot (developer)
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 (developer)
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 (developer)
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 (developer)
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
---

- Issue History
Date Modified Username Field Change
2016-09-20 12:11 marvintm Type defect => backport
2016-09-20 12:11 marvintm Target Version => RR16Q3.2
2016-09-23 11:20 hgbot Checkin
2016-09-23 11:20 hgbot Note Added: 0090199
2016-09-23 11:20 hgbot Checkin
2016-09-23 11:20 hgbot Note Added: 0090200
2016-09-23 11:20 hgbot Status scheduled => resolved
2016-09-23 11:20 hgbot Resolution open => fixed
2016-09-23 11:20 hgbot Fixed in SCM revision http://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:20 hgbot Checkin
2016-09-23 11:20 hgbot Note Added: 0090201
2016-09-26 23:07 guilleaer Status resolved => closed
2016-09-26 23:07 guilleaer Fixed in Version => RR16Q3.2
2016-10-13 09:31 hgbot Checkin
2016-10-13 09:31 hgbot Note Added: 0090548


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker