Openbravo Issue Tracking System - Retail Modules
View Issue Details
0051188Retail ModulesWeb POSpublic2022-12-17 08:302023-05-23 07:20
ranjith_qualiantech_com 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
 
No
0051188: JS error occurs when Payment Method Discount is configured
JS error occurs when Payment Method Discount is configured
Livebuilds modules
Backoffice
Enable following discounts
10% Discount on Cash Payment Method
20% Discount on Card Payment Method

POS
1) Add Product. Click Checkout button
2) Pay partial with Cash Payment
3) Pay remaining with Card payment
4) Click Checkout button again.
JS Error occurs And POS is blocked with grey screen
No tags attached.
Issue History
2022-12-17 08:30ranjith_qualiantech_comNew Issue
2022-12-17 08:30ranjith_qualiantech_comAssigned To => Retail
2022-12-17 08:30ranjith_qualiantech_comTriggers an Emergency Pack => No
2023-02-07 07:20ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2023-02-07 07:21ranjith_qualiantech_comStatusnew => scheduled
2023-02-08 10:23hgbotNote Added: 0146285
2023-05-23 07:20hgbotResolutionopen => fixed
2023-05-23 07:20hgbotStatusscheduled => closed
2023-05-23 07:20hgbotNote Added: 0150124
2023-05-23 07:20hgbotNote Added: 0150125

Notes
(0146285)
hgbot   
2023-02-08 10:23   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.bypaymentmethod/-/merge_requests/10 [^]
(0150124)
hgbot   
2023-05-23 07:20   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.bypaymentmethod [^]
Changeset: 3f234c6ca3606097fc9a057e0cae8d0f40463258
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 08-02-2023 14:46:42
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.bypaymentmethod/-/commit/3f234c6ca3606097fc9a057e0cae8d0f40463258 [^]

Fixed ISSUE-51188: Line promotion should be validated when recalculating discounts
* Promotion should be validated and removed when recalculating discounts

---
M web/org.openbravo.retail.discounts.bypaymentmethod/js/paymentmethod-discount.js
---
(0150125)
hgbot   
2023-05-23 07:20   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts.bypaymentmethod/-/merge_requests/10 [^]