Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0053980
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2023-11-20 16:422024-01-18 12:57
ReporterjfvaringotView Statuspublic 
Assigned ToSABARINATH P 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0053980: POS2 - Issue on Promotion with type "Price Adjustment" - no promotion applied with min and max quantities are filled

DescriptionIssue on POOS2 REACT
Tested and reproduced on livebuilds : https://livebuilds.openbravo.com/context/retail_pos2_pgsql/security/Login [^]
https://livebuilds.openbravo.com/context/retail_pos2_pgsql/web/pos/?terminal=VBS-2 [^]

On promotions with "Price adjustment" type, when min and max quantites are both filled, no promotion is applied at all on POS2.
Steps To ReproduceON BO :
1. Create a promotion with "Price adjustement" type.
2. Apply promotion to a category product
3. Fill "Discount %"
4. Fill Min. Quantity, then save.

On POS2 :
1. Add items from the previously chosen product group
2. When the quantity is >= Min. quantity, the promotion is applied.

ON BO :
1. Select the previously configured promotion
2. Fill the Max. Quantity
3. Save
4.Force the refresh master data for the POS.

On POS2 :
1. Add items from the previously chosen product group
2. When the quantity is >= Min. quantity, nothing happens.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0157653)
hgbot (developer)
2023-11-27 08:20

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/126 [^]
(0159467)
hgbot (developer)
2024-01-18 12:57

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/126 [^]
(0159468)
hgbot (developer)
2024-01-18 12:57

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts [^]
Changeset: edc5aa6285ef99e4316dc1dde7abfbf07b52cbfd
Author: Sabarinath <sabarinath.palanisamy.ext@openbravo.com>
Date: 17-01-2024 18:54:13
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/commit/edc5aa6285ef99e4316dc1dde7abfbf07b52cbfd [^]

Fixed ISSUE-53980: Changed the way of applying discounts when the max qty given.

---
M src-test/org/openbravo/retail/discounts/test/unittests/DiscountPriceAdjusmentTest.java
M web/org.openbravo.retail.discounts/app/model/business-logic/discounts-engine/engine/rules/price-adjustment-discount.js
---

- Issue History
Date Modified Username Field Change
2023-11-20 16:42 jfvaringot New Issue
2023-11-20 16:42 jfvaringot Assigned To => Retail
2023-11-20 16:42 jfvaringot Triggers an Emergency Pack => No
2023-11-20 18:01 javietxe Issue Monitored: javietxe
2023-11-24 09:57 SABARINATH P Assigned To Retail => SABARINATH P
2023-11-27 06:52 SABARINATH P Status new => scheduled
2023-11-27 08:20 hgbot Note Added: 0157653
2024-01-18 12:57 hgbot Note Added: 0159467
2024-01-18 12:57 hgbot Resolution open => fixed
2024-01-18 12:57 hgbot Status scheduled => closed
2024-01-18 12:57 hgbot Fixed in Version => RR24Q2
2024-01-18 12:57 hgbot Note Added: 0159468


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker