Openbravo Issue Tracking System - Retail Modules
View Issue Details
0047841Retail ModulesSessionspublic2021-10-13 13:142021-11-10 10:37
jorgewederago 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
RR19Q3.3 
 
No
0047841: It is not possible to cancel an Open Till
Sessions module allows the client to do an initial cash management based on certain configuration.

While this functionality compiles with a lot of Fiscal Printers we have seen that it is not possible to cancel the Open Session in the back office neither WebPOS (if you cancel the only hook we have WebPOS stays blocked until F5 is pressed).

*Install sessions module
*Configure it to have Open Till
*Do an initial count cash and cancel the hook POSS_PostInitialCount
*Check that the UI is blocked until F5 is pressed
Few things are needed for this issue:
*Create a hook that allows us to cancel the Open Session in the back end if something goes wrong
*Would be nice to have access to the cash management event generated since this information is usually needed for fiscal purposes
*If something goes wrong we should be able to cancel the hook, remove the cash event and log out.
*Fix the cancel execution of POSS_PostInitialCount
No tags attached.
diff 47841_DKTFR_19Q3_sessions.diff (3,081) 2021-11-10 10:37
https://issues.openbravo.com/file_download.php?file_id=16336&type=bug
Issue History
2021-10-13 13:14jorgewederagoNew Issue
2021-10-13 13:14jorgewederagoAssigned To => Retail
2021-10-13 13:14jorgewederagoTriggers an Emergency Pack => No
2021-10-13 14:26ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2021-10-28 07:21hgbotNote Added: 0132692
2021-10-28 08:10hgbotResolutionopen => fixed
2021-10-28 08:10hgbotStatusnew => closed
2021-10-28 08:10hgbotNote Added: 0132696
2021-10-28 08:10hgbotNote Added: 0132697
2021-11-10 10:37ranjith_qualiantech_comFile Added: 47841_DKTFR_19Q3_sessions.diff

Notes
(0132692)
hgbot   
2021-10-28 07:21   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/26 [^]
(0132696)
hgbot   
2021-10-28 08:10   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions [^]
Changeset: 85751f6d16919235088dd7c2da9ed716d868ef5f
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-10-28T11:30:51+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/commit/85751f6d16919235088dd7c2da9ed716d868ef5f [^]

Fixed ISSUE-47841: Added PreInitialCount Hook when opening till
* When opening till, hook POSS_PreInitialCount will called
  When hook is completed, Cash Mgmt events will be created and session will be opened
* If hook POSS_PreInitialCount is cancelled, POS will be logout
  and Session will not be opened, Cash Mgmt events will not be created
* Application should be logged out if hook POSS_PostInitialCount is cancelled

---
M web/org.openbravo.retail.sessions/js/countcash/countcash-model.js
M web/org.openbravo.retail.sessions/js/countcash/countcash.js
---
(0132697)
hgbot   
2021-10-28 08:10   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sessions/-/merge_requests/26 [^]