Openbravo Issue Tracking System - POS2 | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0053490 | POS2 | POS | public | 2023-09-19 12:57 | 2023-10-20 14:14 |
Reporter | guillermogil | ||||
Assigned To | ranjith_qualiantech_com | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0053490: User defined percentage raises an error when applied | ||||
Description | User defined percentage raises an error when applied. When applying it raises the following error message: POS2.js:108 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'scale') at e.toBigDecimal (POS2.js:108:13) at e.div (POS2.js:128:19) at POS2.js:43282:23 at Array.forEach (<anonymous>) at e.executeDiscountCalculation (POS2.js:43279:24) at e.calculateDiscounts (POS2.js:39390:12) at POS2.js:38741:11 at Array.forEach (<anonymous>) at OB.Discounts.applyDiscounts (POS2.js:38735:19) at OB.Discounts.Pos.applyDiscounts (POS2.js:37927:36) | ||||
Steps To Reproduce | - Create a User Defined Percentage discount in the backoffice - Login on POS - Add a product - Select the line - Go to Discounts - Click on your newly created discount Error is raised | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=18966&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2023-09-19 12:57 | guillermogil | New Issue | |||
2023-09-19 12:57 | guillermogil | Assigned To | => Retail | ||
2023-09-19 12:57 | guillermogil | File Added: Screenshot from 2023-09-19 12-53-54.png | |||
2023-09-19 12:57 | guillermogil | Triggers an Emergency Pack | => No | ||
2023-09-19 12:59 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com | ||
2023-09-25 07:38 | ranjith_qualiantech_com | Status | new => scheduled | ||
2023-10-04 08:01 | hgbot | Note Added: 0155438 | |||
2023-10-20 14:14 | hgbot | Resolution | open => fixed | ||
2023-10-20 14:14 | hgbot | Status | scheduled => closed | ||
2023-10-20 14:14 | hgbot | Fixed in Version | => RR24Q1 | ||
2023-10-20 14:14 | hgbot | Note Added: 0156129 | |||
2023-10-20 14:14 | hgbot | Note Added: 0156130 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|