Openbravo Issue Tracking System - POS2
View Issue Details
0051507POS2POSpublic2023-01-30 14:122023-02-23 08:05
philippe_mui 
jonae 
urgentcriticalalways
closedfixed 
5
 
23Q2 
No
0051507: Drawer opens when making any sale on all payment methods
When making a sale, the drawer opens automatically even when it is set up as not allowed in backoffice. See video below :

https://drive.google.com/file/d/1ZM3gdTsAI0-8Q_Kaa75ZoU8WdcT7_fmT/view?usp=share_link [^]
1- In BO, select a payment method (card for example) linked to a touchpoint and untick "allow Open Drawer"
2- open the hardware manager and make sure it is properly configured to work with POS2
2- Go to POS2 and make a sale with that payment method (card).

Current result : the drawer opens no matter "allow open drawer" is ticked or unticked

Expected result : the drawer remains closed when "allow open drawer" is unticked
FASH
related to defect 0051697 closed Retail When selling or printing alteration the drawer is opened 
related to defect 0051698 closed Triage Platform Base When doing initial count and cash up the drawer is not opened automatically 
Issue History
2023-01-30 14:12philippe_muiNew Issue
2023-01-30 14:12philippe_muiAssigned To => Retail
2023-01-30 14:12philippe_muiTriggers an Emergency Pack => No
2023-01-30 14:13philippe_muiTag Attached: FASH
2023-02-10 15:28hgbotNote Added: 0146394
2023-02-10 15:32jonaeAssigned ToRetail => jonae
2023-02-23 08:05hgbotResolutionopen => fixed
2023-02-23 08:05hgbotStatusnew => closed
2023-02-23 08:05hgbotNote Added: 0146896
2023-02-23 08:05hgbotFixed in Version => 23Q2
2023-02-23 08:05hgbotNote Added: 0146897
2023-02-24 15:13rafarodaRelationship addedrelated to 0051697
2023-03-08 08:55rafarodaRelationship addedrelated to 0051698

Notes
(0146394)
hgbot   
2023-02-10 15:28   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1519 [^]
(0146896)
hgbot   
2023-02-23 08:05   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1519 [^]
(0146897)
hgbot   
2023-02-23 08:05   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: b7c78ba9307f89b34b976b58a65ee924b8642742
Author: Jon Alegría <jon.alegria@openbravo.com>
Date: 23-02-2023 07:05:36
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/b7c78ba9307f89b34b976b58a65ee924b8642742 [^]

Fixed ISSUE-51507: Adding validation in the ticket hook to check if the open drawer check needs to be performed or not depending on the configurations

---
M web-jspack/org.openbravo.pos2/src/model/ticket/TicketExtension.js
---