Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0053230 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Retail Modules] Discounts and Promotions | major | always | 2023-08-17 14:44 | 2023-08-24 09:56 | |||
Reporter | sofidossant | View Status | public | |||||
Assigned To | sreehari | |||||||
Priority | high | Resolution | fixed | Fixed in Version | RR23Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Review Assigned To | ||||||||
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()); | |||||||
Tags | No tags attached. | |||||||
Attached Files | PaidReceipts.diff [^] (826 bytes) 2023-08-17 14:44 [Show Content] | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0153689) hgbot (developer) 2023-08-19 10:57 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1309 [^] |
(0153881) hgbot (developer) 2023-08-24 09:56 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1309 [^] |
(0153882) hgbot (developer) 2023-08-24 09:56 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^] Changeset: 1cccfe4887b6bc123381a7e2fbac4d21f661c298 Author: Sreehari Venkataraman <sreehari@qualiantech.com> Date: 24-08-2023 07:56:09 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/1cccfe4887b6bc123381a7e2fbac4d21f661c298 [^] Fixes ISSUE-53230: Added baseGrossUnitPrice in promotions of lines --- M src/org/openbravo/retail/posterminal/PaidReceipts.java --- |
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 |
Copyright © 2000 - 2009 MantisBT Group |