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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051898
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts and Promotionsmajoralways2023-03-17 10:252023-10-10 16:52
ReporternoemierousselView Statuspublic 
Assigned Toradhakrishnan 
PriorityhighResolutionfixedFixed in VersionRR23Q3
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

0051898: free product / gift reminder is not applied if the gifted product has a price 0

DescriptionIn free product per total amount discoumt, when free product =0€, the gift reminder is not applied

see video: https://drive.google.com/file/d/1dzzo2slmJ643i3S3zFR6mNUEqyVx3aih/view?usp=sharing [^]

Steps To ReproduceGo to the backoffice

Go to the Discounts and promotions window

Create a new record with discount type=Free product per total amount

Enter the required fields (Name, starting date/ending date)

Add a free product in the "Free product" sbutab

Amount=100

POS Application method= Automatic, with gift reminder notification checked.

In "Product", subtab "Price", set the product price to 0.

Try to trigger the promo in the POS by adding products for amount>100.

See that the promo is not displayed.

Put the original price to the gift. Refresh POS.

Try again to trigger the promo in the POS by adding products for amount>100.

See that the promo is display
Proposed SolutionWhatever the price of the gift, the promo should be trigger.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0147829)
hgbot (developer)
2023-03-22 11:15

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/97 [^]
(0148163)
hgbot (developer)
2023-03-31 15:01

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/97 [^]
(0148164)
hgbot (developer)
2023-03-31 15:01

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts [^]
Changeset: 5299ac21ccf1c77f7268ecf669eab5ceb6ca14b9
Author: Radhakrishnan Seeman <radhakrishnan@qualiantech.com>
Date: 31-03-2023 13:00:50
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/commit/5299ac21ccf1c77f7268ecf669eab5ceb6ca14b9 [^]

Fixed ISSUE-51898: Free product with price 0 should allow in discounts calculation

---
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
---
(0152294)
Mike34 (reporter)
2023-07-11 03:54

Problem solved, merge request approved, https://uno-online.co/ [^] awesome
(0155750)
westjoan (reporter)
2023-10-10 16:52

New capabilities that would encourage a greater number of people to use the product at https://geometrydash-free.com [^]

- Issue History
Date Modified Username Field Change
2023-03-17 10:25 noemieroussel New Issue
2023-03-17 10:25 noemieroussel Assigned To => Retail
2023-03-17 10:25 noemieroussel Triggers an Emergency Pack => No
2023-03-20 12:23 radhakrishnan Assigned To Retail => radhakrishnan
2023-03-20 12:23 radhakrishnan Status new => scheduled
2023-03-22 11:15 hgbot Note Added: 0147829
2023-03-31 15:01 hgbot Note Added: 0148163
2023-03-31 15:01 hgbot Resolution open => fixed
2023-03-31 15:01 hgbot Status scheduled => closed
2023-03-31 15:01 hgbot Fixed in Version => RR23Q3
2023-03-31 15:01 hgbot Note Added: 0148164
2023-07-11 03:54 Mike34 Note Added: 0152294
2023-10-10 16:52 westjoan Note Added: 0155750


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker