Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0053230 | Retail Modules | Discounts and Promotions | public | 2023-08-17 14:44 | 2023-08-24 09:56 |
Reporter | sofidossant | ||||
Assigned To | sreehari | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | pi | ||||
Target Version | Fixed in Version | RR23Q4 | |||
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 | 0053230: Add baseGrossUnitPrice field of the promotion in WEBPOS paid orders | ||||
Description | When we add a discounted product the baseGrossUnitPrice field is in the promotion but when we finish the order and load it, we don't have the baseGrossUnitPrice field VIDEO: https://www.youtube.com/watch?v=MwLXvzdWcPs&ab_channel=CristianAdrian%7CPracticsBS [^] | ||||
Steps To Reproduce | 1- Open WEBPos 2 - Add product with discount (checked in the console the promotion in the line - field baseGrossUnitPrice) 3- Finish the sales order 4 - Open the sales order and check in the console, if the promotions has the field baseGrossUnitPrice. | ||||
Proposed Solution | --- a/modules/org.openbravo.retail.posterminal/src/org/openbravo/retail/posterminal/PaidReceipts.java 2023-07-07 11:36:51.000000000 +0200 +++ b/modules/org.openbravo.retail.posterminal/src/org/openbravo/retail/posterminal/PaidReceipts.java 2023-08-17 13:35:27.252606000 +0200 @@ -326,6 +326,7 @@ jsonPromo.put("actualAmt", promotion.getTotalAmount()); jsonPromo.put("hidden", BigDecimal.ZERO.equals(displayedAmount)); jsonPromo.put("displayedTotalAmount", promotion.getDisplayedTotalAmount()); + jsonPromo.put("baseGrossUnitPrice", promotion.getBaseGrossUnitPrice()); jsonPromo.put("qtyOffer", promotion.getObdiscQtyoffer()); if (promotion.getObdiscIdentifier() != null) { jsonPromo.put("identifier", promotion.getObdiscIdentifier()); | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | PaidReceipts.diff (826) 2023-08-17 14:44 https://issues.openbravo.com/file_download.php?file_id=18878&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2023-08-17 14:44 | sofidossant | New Issue | |||
2023-08-17 14:44 | sofidossant | Assigned To | => Retail | ||
2023-08-17 14:44 | sofidossant | File Added: PaidReceipts.diff | |||
2023-08-17 14:44 | sofidossant | Triggers an Emergency Pack | => No | ||
2023-08-17 17:40 | Practics | Issue Monitored: Practics | |||
2023-08-18 15:37 | sreehari | Assigned To | Retail => sreehari | ||
2023-08-19 06:42 | sreehari | Status | new => scheduled | ||
2023-08-19 10:57 | hgbot | Note Added: 0153689 | |||
2023-08-24 09:56 | hgbot | Note Added: 0153881 | |||
2023-08-24 09:56 | hgbot | Resolution | open => fixed | ||
2023-08-24 09:56 | hgbot | Status | scheduled => closed | ||
2023-08-24 09:56 | hgbot | Fixed in Version | => RR23Q4 | ||
2023-08-24 09:56 | hgbot | Note Added: 0153882 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|