Openbravo Issue Tracking System - Retail Modules
View Issue Details
0050511Retail ModulesDiscounts and Promotionspublic2022-10-07 12:392022-11-21 08:00
ngarcia 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
5
 
RR22Q4.1RR22Q4.1 
No
0050511: WEB POS Open Discounts From Keyboard preference is affecting the Receipt Discounts menu entry
WEB POS Open Discounts From Keyboard preference is affecting the Receipt Discounts menu entry
In the backoffice:
   Set the WEB POS Open Discounts From Keyboard to N (create a new one with the same configuration as the one with the Y value but with the Selected option checked)

In the POS:
   Add a product to the ticket
   Write 50 on the keyboard
   Click on the Receipt discounts menu entry and check the price of the product has changed (a 50% discount has been applied)
The preference should not affect the menu entry but only the Discounts button
No tags attached.
blocks defect 0050451 closed ranjith_qualiantech_com WEB POS Open Discounts From Keyboard preference is affecting the Receipt Discounts menu entry 
Issue History
2022-10-13 10:14guilleaerTypedefect => backport
2022-10-13 10:14guilleaerTarget Version => RR22Q4.1
2022-10-21 10:57hgbotNote Added: 0142388
2022-10-21 10:57hgbotNote Added: 0142389
2022-11-21 08:00hgbotNote Added: 0143872
2022-11-21 08:00hgbotNote Added: 0143873
2022-11-21 08:00hgbotNote Added: 0143874
2022-11-21 08:00hgbotResolutionopen => fixed
2022-11-21 08:00hgbotStatusscheduled => closed
2022-11-21 08:00hgbotFixed in Version => RR22Q4.1
2022-11-21 08:00hgbotNote Added: 0143875

Notes
(0142388)
hgbot   
2022-10-21 10:57   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/425 [^]
(0142389)
hgbot   
2022-10-21 10:57   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/964 [^]
(0143872)
hgbot   
2022-11-21 08:00   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/merge_requests/425 [^]
(0143873)
hgbot   
2022-11-21 08:00   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core [^]
Changeset: b7d93d3b012c839680a752c417a608e7d7c097e1
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 21-11-2022 07:00:00
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.mobile.core/-/commit/b7d93d3b012c839680a752c417a608e7d7c097e1 [^]

Related to ISSUE-50511: Enyo Component added as param in ActionButton execute event

---
M web/org.openbravo.mobile.core/source/actions/actionbutton.js
M web/org.openbravo.mobile.core/source/actions/actionbuttonswitch.js
M web/org.openbravo.mobile.core/source/actions/actionmenu.js
M web/org.openbravo.mobile.core/source/actions/actionmodaldialogbutton.js
M web/org.openbravo.mobile.core/source/actions/actionsregistry.js
---
(0143874)
hgbot   
2022-11-21 08:00   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/964 [^]
(0143875)
hgbot   
2022-11-21 08:00   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 439c5e78f26c683ab589ebc6f6b156b6f8d2e460
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 21-11-2022 07:00:04
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/439c5e78f26c683ab589ebc6f6b156b6f8d2e460 [^]

Fixed ISSUE-50511: Discount should be applied if triggered from Discount button
* If Pref. "WEB POS Open Discounts From Keyboard" is disabled, then
  Discount should be applied if triggered from keyboard Discount ActionButton.
  It should not be applied when Menu "Receipt Discounts" is clicked

---
M web/org.openbravo.retail.posterminal/js/actions/discount.js
---