Openbravo Issue Tracking System - POS2
View Issue Details
0056821POS2POSpublic2024-10-17 16:372024-11-04 17:18
gaboflash 
gaboflash 
normalminorhave not tried
closedfixed 
5
 
25Q1 
No
0056821: Implement drawer closure behavior to trigger ticket printing or sending in POS2
Allows the physical closing of the cash drawer to trigger the printing or emailing of the receipt, similar to clicking the 'DONE' button in the payment view.

If a configured payment method completes the full payment, closing the drawer will trigger the action automatically. In cases of split payments (with a configured and another payment method), if the configured method is used last and completes the payment, closing the drawer will trigger the printing receipt action. Otherwise, manual confirmation via the 'DONE' button is required.

A new option, "Print Receipt at Drawer Closure," will be added under Touchpoint Type > Payment Method, visible only when "Drawer Opening Behavior" is configured to open the drawer before order closure.
N/A
No tags attached.
Issue History
2024-10-17 16:37gaboflashNew Issue
2024-10-17 16:37gaboflashAssigned To => gaboflash
2024-10-17 16:37gaboflashTriggers an Emergency Pack => No
2024-10-29 06:36hgbotNote Added: 0171075
2024-10-29 06:36hgbotNote Added: 0171076
2024-11-04 16:56hgbotNote Added: 0171340
2024-11-04 16:56hgbotNote Added: 0171341
2024-11-04 16:58hgbotResolutionopen => fixed
2024-11-04 16:58hgbotStatusnew => closed
2024-11-04 16:58hgbotFixed in Version => RR25Q1
2024-11-04 16:58hgbotNote Added: 0171342
2024-11-04 16:58hgbotNote Added: 0171343
2024-11-04 16:58hgbotNote Added: 0171344
2024-11-04 16:58hgbotNote Added: 0171345
2024-11-04 16:58hgbotFixed in VersionRR25Q1 => 25Q1
2024-11-04 16:58hgbotNote Added: 0171346
2024-11-04 16:58hgbotNote Added: 0171347
2024-11-04 16:58hgbotNote Added: 0171348
2024-11-04 16:59hgbotNote Added: 0171349
2024-11-04 16:59hgbotNote Added: 0171350
2024-11-04 17:18hgbotNote Added: 0171352

Notes
(0171075)
hgbot   
2024-10-29 06:36   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1743 [^]
(0171076)
hgbot   
2024-10-29 06:36   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3036 [^]
(0171340)
hgbot   
2024-11-04 16:56   
Merge Request created: https://gitlab.com/openbravo/ci/modules/org.openbravo.retail.testsampledata/-/merge_requests/120 [^]
(0171341)
hgbot   
2024-11-04 16:56   
Merge Request created: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/merge_requests/179 [^]
(0171342)
hgbot   
2024-11-04 16:58   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: e5a372bb9000190d95e3637c79a5187de540e561
Author: Gabriel Lopez <gabriel.lopez@doceleguas.com>
Date: 04-11-2024 12:29:49
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/e5a372bb9000190d95e3637c79a5187de540e561 [^]

Fixes ISSUE-56821: Enhanced drawer closing behavior by introducing new options based on payment method configuration

---
M src-db/database/model/tables/OBPOS_APP_PAYMENT_TYPE.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/AddPaymentUtils.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/CompleteMultiTicketUtils.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/CompleteTicketUtils.js
---
(0171343)
hgbot   
2024-11-04 16:58   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 48a6321ed7bb48053a0a8d846f9be1186d6a4318
Author: Gabriel Lopez <gabriel.lopez@doceleguas.com>
Date: 04-11-2024 12:29:49
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/48a6321ed7bb48053a0a8d846f9be1186d6a4318 [^]

Related to ISSUE-56821: Fixed text definitions in AD

---
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
---
(0171344)
hgbot   
2024-11-04 16:58   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1743 [^]
(0171345)
hgbot   
2024-11-04 16:58   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3036 [^]
(0171346)
hgbot   
2024-11-04 16:58   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 0e3b97e58d3f7a3bc9a48e99c494070916ede1cc
Author: Gabriel Lopez <gabriel.lopez@doceleguas.com>
Date: 04-11-2024 14:27:23
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/0e3b97e58d3f7a3bc9a48e99c494070916ede1cc [^]

Fixes ISSUE-56821: Enhanced drawer closing behavior by introducing new options based on payment method configuration

---
M web-jspack/org.openbravo.pos2/src/components/Drawer/DrawerStatus.js
---
(0171347)
hgbot   
2024-11-04 16:58   
Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.retail.testsampledata [^]
Changeset: fde16a82964d3371b095e6e058a4b35f9f69e66a
Author: Gabriel Lopez <gabriel.lopez@doceleguas.com>
Date: 04-11-2024 12:55:57
URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.retail.testsampledata/-/commit/fde16a82964d3371b095e6e058a4b35f9f69e66a [^]

Related to ISSUE-56821: Added Print At Drawer Closure field for the payment method

---
M referencedata/sampledata/Retail_Test/OBPOS_APP_PAYMENT_TYPE.xml
---
(0171348)
hgbot   
2024-11-04 16:58   
Merge request merged: https://gitlab.com/openbravo/ci/modules/org.openbravo.retail.testsampledata/-/merge_requests/120 [^]
(0171349)
hgbot   
2024-11-04 16:59   
Repository: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata [^]
Changeset: d3421123e85435c9fd2ec1f7f69c9092100a4804
Author: Gabriel Lopez <gabriel.lopez@doceleguas.com>
Date: 04-11-2024 12:48:04
URL: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/commit/d3421123e85435c9fd2ec1f7f69c9092100a4804 [^]

Related to ISSUE-56821: Added Print At Drawer Closure field for the payment method definitions

---
M referencedata/sampledata/The_White_Valley_Group/OBPOS_APP_PAYMENT_TYPE.xml
---
(0171350)
hgbot   
2024-11-04 16:59   
Merge request merged: https://gitlab.com/openbravo/ci/modules/org.openbravo.test.mobile.sampledata/-/merge_requests/179 [^]
(0171352)
hgbot   
2024-11-04 17:18   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata [^]
Changeset: 418d8301f58a28b044be1df3523462988e9ddff7
Author: Antonio Moreno <antonio.moreno@openbravo.com>
Date: 04-11-2024 17:18:01
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.sampledata/-/commit/418d8301f58a28b044be1df3523462988e9ddff7 [^]

Related to ISSUE-56821. Fix sampledata consistency

---
M referencedata/sampledata/The_White_Valley_Group/OBPOS_APP_PAYMENT_TYPE.xml
---