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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0053949
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2023-11-15 16:402024-01-03 16:42
ReporterjfvaringotView Statuspublic 
Assigned ToSABARINATH P 
PrioritynormalResolutionfixedFixed 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

0053949: POS2 - Promotion Free Products per Total Amount - Does not work when manually changing the amount of item

DescriptionREPRODUCED ON LIVEBUILDS -> POS : https://livebuilds.openbravo.com/context/retail_pos2_pgsql/web/pos/?terminal=VBS-2 [^]

When I manually change the price of an item, and that the defined limit to have a free product is reached, the promotion is not applied, while it's working when I add several product to reach the same limit.

Video : https://drive.google.com/file/d/1YvRy5nb0TADk_Yb-ewqSjmHRKDlWyEHb/view?usp=sharing [^]
Steps To ReproduceOn Backend : Promotion Type : Free Products per Total Amount
a. For a group of product : Backpacks & Travel
b. Limit : 100€
c. 1 free product : Ceiling Lamp


On POS :
a. Add several item from the defined group of product to reach the limit
b. Pay -> The window proposing the free product is displayed, you can add the free product


On POS :
a. Add 1 item from the defined group
b. Change the price manually to reach the limit
c. Pay -> only the payment window is displayed. You cannot add the free product.
TagsNo tags attached.
Attached Files7z file icon Livebuilds - Issue with Free Product Promotion.7z [^] (1,674,260 bytes) 2023-11-15 16:40

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0157978)
hgbot (developer)
2023-12-06 05:47

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/129 [^]
(0158833)
hgbot (developer)
2024-01-03 16:42

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/129 [^]
(0158834)
hgbot (developer)
2024-01-03 16:42

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts [^]
Changeset: a4a7c376b5d845a81cac5dc6b1ecae8eaaa5a544
Author: sabarinath palanisamy <sabarinath.palanisamy.ext@openbravo.com>
Date: 03-01-2024 15:42:50
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/commit/a4a7c376b5d845a81cac5dc6b1ecae8eaaa5a544 [^]

Fixed ISSUE-53949: Updated price by gross unit price to display promotion free products when price modified.

---
M src-test/org/openbravo/retail/discounts/test/unittests/DiscountByTotalFreeItemsTest.java
M web/org.openbravo.retail.discounts/app/model/business-logic/discounts-engine/engine/rules/by-total-free-item-discount.js
---

- Issue History
Date Modified Username Field Change
2023-11-15 16:40 jfvaringot New Issue
2023-11-15 16:40 jfvaringot Assigned To => Retail
2023-11-15 16:40 jfvaringot File Added: Livebuilds - Issue with Free Product Promotion.7z
2023-11-15 16:40 jfvaringot Triggers an Emergency Pack => No
2023-11-15 16:48 javietxe Issue Monitored: javietxe
2023-11-20 13:38 SABARINATH P Assigned To Retail => SABARINATH P
2023-11-21 12:46 SABARINATH P Status new => scheduled
2023-12-06 05:47 hgbot Note Added: 0157978
2024-01-03 16:42 hgbot Resolution open => fixed
2024-01-03 16:42 hgbot Status scheduled => closed
2024-01-03 16:42 hgbot Fixed in Version => RR24Q1
2024-01-03 16:42 hgbot Note Added: 0158833
2024-01-03 16:42 hgbot Note Added: 0158834


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker