Openbravo Issue Tracking System - POS2
View Issue Details
0057628POS2POSpublic2025-01-03 09:512025-02-10 04:59
jfvaringot 
inaki_luque 
urgentmajoralways
closedfixed 
5
 
25Q125Q1 
approved
No
No
0057628: POS 2 - Ticket is not closed and printed when closing the drawer
TEST DONE ON MY DEV ENVIRONMENT (=MASTER, WITH OUR OWN DATA)

When my ticket is fully paid, using cash, the ticket view is not closed and the receipt is not printed when I manually close my drawer
On back-office, for payment method cash, at Touchpoint type level:
- Setting : Drawer Opening Behavior : set to 'Open Draxer after Adding the payment, before closing order'
- Setting : 'Print Receipt At Drawer Closure' set to TRUE

On POS :
- When I do a sale, and select payment method 'Cash', the drawer opens.
-I complete the payment
- I close the drawer manually

-> The ticket view should close, and the receipt should be printed.
When I close the drawer, the ticket should be printed and the ticket closed.
No tags attached.
blocks defect 0057562 closed inaki_luque POS 2 - Ticket is not closed and printed when closing the drawer 
Issue History
2025-01-13 14:50fofarrilTypedefect => backport
2025-01-13 14:50fofarrilTarget Version => 25Q1
2025-02-07 06:39jorgewederagoAssigned Tofofarril => inaki_luque
2025-02-07 09:18hgbotMerge Request Status => open
2025-02-07 09:18hgbotNote Added: 0175257
2025-02-10 04:45hgbotMerge Request Statusopen => approved
2025-02-10 04:59hgbotNote Added: 0175349
2025-02-10 04:59hgbotResolutionopen => fixed
2025-02-10 04:59hgbotStatusscheduled => closed
2025-02-10 04:59hgbotFixed in Version => 25Q1
2025-02-10 04:59hgbotNote Added: 0175350

Notes
(0175257)
hgbot   
2025-02-07 09:18   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3471 [^]
(0175349)
hgbot   
2025-02-10 04:59   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3471 [^]
(0175350)
hgbot   
2025-02-10 04:59   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 08f661b5d4b9e73829e5fe52ddb6ebf71d3bf8f9
Author: IƱaki Luque <i.luque@orisha.com>
Date: 10-02-2025 03:59:38
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/commit/08f661b5d4b9e73829e5fe52ddb6ebf71d3bf8f9 [^]

Fixes ISSUE-57628: [25Q1] Ticket is not closed and printed when closing the drawer

---
M web-jspack/org.openbravo.pos2/src/components/Drawer/DrawerStatus.js
M web-jspack/org.openbravo.pos2/src/model/ticket/user-actions/AddPayment.js
---