Openbravo Issue Tracking System - Retail Modules
View Issue Details
0051192Retail ModulesWeb POSpublic2022-12-19 11:442023-07-03 11:12
jetxarri 
jorgewederago 
highmajoralways
scheduledopen 
5
 
 
No
0051192: OpenDrawer calls are not using the new Printing endpoints
Currently every time that it is necessary to open the drawer, the code is doing
OB.POS.hwserver.openDrawer

When it should enqueue a message to be processed and send to the hardware manager
const openDrawerMsg = OB.App.State.Messages.Utils.createNewMessage(
    'OBPOS2_OpenDrawer',
    '',
    {},
    { type: 'openDrawer', consumeOffline: true }
  );
Go to menu and open the drawer, verify that is not enqueueing any message
Take a look to file
openbravo/modules/org.openbravo.pos2/web-jspack/org.openbravo.pos2/src/model/global/actions/OpenDrawer.js

And implement in POS1
No tags attached.
Issue History
2022-12-19 11:44jetxarriNew Issue
2022-12-19 11:44jetxarriAssigned To => Retail
2022-12-19 11:44jetxarriTriggers an Emergency Pack => No
2023-02-09 12:59radhakrishnanAssigned ToRetail => radhakrishnan
2023-02-09 12:59radhakrishnanStatusnew => scheduled
2023-02-22 10:38hgbotNote Added: 0146862
2023-07-03 08:45hgbotResolutionopen => fixed
2023-07-03 08:45hgbotStatusscheduled => closed
2023-07-03 08:45hgbotNote Added: 0152007
2023-07-03 08:45hgbotFixed in Version => RR23Q4
2023-07-03 08:45hgbotNote Added: 0152008
2023-07-03 11:05hgbotNote Added: 0152030
2023-07-03 11:09jorgewederagoAssigned Toradhakrishnan => jorgewederago
2023-07-03 11:09jorgewederagoStatusclosed => new
2023-07-03 11:09jorgewederagoResolutionfixed => open
2023-07-03 11:09jorgewederagoFixed in VersionRR23Q4 =>
2023-07-03 11:12jorgewederagoStatusnew => scheduled

Notes
(0146862)
hgbot   
2023-02-22 10:38   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1075 [^]
(0152007)
hgbot   
2023-07-03 08:45   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1075 [^]
(0152008)
hgbot   
2023-07-03 08:45   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 9039b213d8019cd19b6fe216851565c6b56bdaab
Author: Radhakrishnan Seeman <radhakrishnan@qualiantech.com>
Date: 03-07-2023 06:45:23
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/9039b213d8019cd19b6fe216851565c6b56bdaab [^]

Fixed ISSUE-51192: Added OpenDrawer user action
* OpenDrawer should be called using state action
  instead of HWServer template
* Hardware manager server initialization moved before loading any window

---
A web/org.openbravo.retail.posterminal/app/external-device/actions/OpenDrawer.js
M src/org/openbravo/retail/posterminal/OBPOSComponentProvider.java
M web/org.openbravo.retail.posterminal/js/datasource.js
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
---
(0152030)
hgbot   
2023-07-03 11:05   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 1ba14686f57e3a40a10312c0335ad0cebd017b7b
Author: Jorge Wederago <jorge.wederago@openbravo.com>
Date: 03-07-2023 11:04:39
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/1ba14686f57e3a40a10312c0335ad0cebd017b7b [^]

Revert "Fixed ISSUE-51192: Added OpenDrawer user action"

This reverts commit 9039b213d8019cd19b6fe216851565c6b56bdaab.

---
M src/org/openbravo/retail/posterminal/OBPOSComponentProvider.java
M web/org.openbravo.retail.posterminal/js/datasource.js
M web/org.openbravo.retail.posterminal/js/login/model/login-model.js
M web/org.openbravo.retail.posterminal/js/pointofsale/model/pointofsale-model.js
R web/org.openbravo.retail.posterminal/app/external-device/actions/OpenDrawer.js
---