Openbravo Issue Tracking System - POS2
View Issue Details
0051881POS2Restaurantspublic2023-03-15 14:092023-03-23 09:30
ruben_jimenez 
ruben_jimenez 
normalminorhave not tried
closedfixed 
5
 
23Q2 
No
0051881: RM-5481: Coupon reprint if return on order with counter product or coupon in an automatically detected menu
In case of automatic detected menu, the coupon can be printed twice (in case of coupon and counter mode). Actually the coupon is reprinted in that case and after going back to the ticket and pressing the payment button again.
1- Create a sale by choosing a counter product or coupon included in the menu “Menu Flunch” and a drink from the menu “Menu Flunch”, for example: Cannelonis and Lipton ice tea

2- Click on pay, the menu is automatically generated

3- The menu “Menu Flunch” was detected automatically.

4- The product coupon is printed → OK it is the expected behavior

5 - Click on “back” button and then again on “PAY” -> Fail.The coupon is is printed again and it shouldn't
No tags attached.
blocks backport 005186423Q1.1 closed ruben_jimenez RM-5481: Coupon reprint if return on order with counter product or coupon in an automatically detected menu 
Issue History
2023-03-16 10:32guilleaerTypedefect => backport
2023-03-16 10:32guilleaerTarget Version => 23Q1.1
2023-03-16 10:34guilleaerTypebackport => defect
2023-03-16 10:34guilleaerTarget Version23Q1.1 =>
2023-03-22 08:59ruben_jimenezNote Added: 0147812
2023-03-22 09:00ruben_jimenezNote Added: 0147813
2023-03-22 23:11hgbotResolutionopen => fixed
2023-03-22 23:11hgbotStatusscheduled => resolved
2023-03-22 23:11hgbotFixed in Version => 23Q2
2023-03-22 23:11hgbotNote Added: 0147857
2023-03-22 23:12hgbotNote Added: 0147858
2023-03-23 09:30guilleaerStatusresolved => closed

Notes
(0147812)
ruben_jimenez   
2023-03-22 08:59   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/merge_requests/208 [^]
(0147813)
ruben_jimenez   
2023-03-22 09:00   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1601 [^]
(0147857)
hgbot   
2023-03-22 23:11   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: a0c8cbb50d95dec4a12bf7871e68156fe327c838
Author: Martin Taal <martin.taal@openbravo.com>
Date: 22-03-2023 22:11:43
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/a0c8cbb50d95dec4a12bf7871e68156fe327c838 [^]

Fixed ISSUE-51881: Prevent to revert auto discovered menus when auto discover menus is activated

---
A web-jspack/org.openbravo.pos2/src/core/pickupPoint/deliveryControl/coupon/CouponStateHandling.js
M web-jspack/org.openbravo.pos2/src/core/pickupPoint/PickupHandler.js
M web-jspack/org.openbravo.pos2/src/core/pickupPoint/deliveryControl/coupon/CouponDeliveryControlMethod.js
M web-jspack/org.openbravo.pos2/src/core/pickupPoint/deliveryControl/coupon/__test__/DoTicketPrepayment.test.js
M web-jspack/org.openbravo.pos2/src/core/pickupPoint/deliveryControl/registerDeliveryControlMethods.js
M web-jspack/org.openbravo.pos2/src/model/global/actions/DoCouponPrinting.js
---
(0147858)
hgbot   
2023-03-22 23:12   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant [^]
Changeset: 6fc2631d42a86eedffd230f41f7fcb0609cd38c6
Author: Ruben Jimenez <ruben.jimenez@openbravo.com>
Date: 22-03-2023 22:12:02
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.restaurant/-/commit/6fc2631d42a86eedffd230f41f7fcb0609cd38c6 [^]

Fixed ISSUE-51881: Prevent to revert auto discovered menus when auto discover menus is activated

---
M web-jspack/org.openbravo.pos2.restaurant/src/core/pickupPoint/RestaurantPickupHandler.js
---