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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0051897
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts and Promotionsmajoralways2023-03-17 10:162023-03-22 07:53
ReporternoemierousselView Statuspublic 
Assigned ToRetail 
PriorityhighResolutionfixedFixed in VersionRR23Q2
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

0051897: [Promo] - Buy X Get Y - Promotion KO when product categories and / or product characteristics selected in the filters

DescriptionWith Buy X and get Y as a gift promo type, in two scenarios, the promo is not trigger:

->Product category only : Any X Any Y - KO

->Product characteristics only : Any X Any Y - KO

See video with product category: https://drive.google.com/file/d/1v5S-sUq5xRODHpZmmGIVXT4dzbxmn_Ly/view?usp=sharing [^]

See video with product characteristics:https://drive.google.com/file/d/1_faefp9B_ECTRg6QTGKTSJrABylaHGWN/view?usp=sharing [^]
Steps To ReproduceGo to the backoffice.

Create a new record in Discounts and promotions

Select "Buy X and get Y as a gift" promotion

Enter required fields (name, date, starting date=Yesterday, ending date=D+5)

Product category filter =Only those defined

Subtype = Buy Any X gift Any Y

X Unit=1

Y Unit MIN and MAX =1

Gift reminder notification= checked

Product category subtab = add one product

Gift product = add one product


Go to the POS and see that the promo is not displayed by adding eligible products
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0050706 closedprakashmurugesan88 [PROMO] - Product category and Characteristics KO in "Buy X and get Y as a gift" promotion 
related to defect 0051684 closedRetail Accumulating several filters for Promo type Buy X Get Y 

-  Notes
(0147704)
hgbot (developer)
2023-03-20 12:40

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/96 [^]
(0147799)
hgbot (developer)
2023-03-22 07:53

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/96 [^]
(0147800)
hgbot (developer)
2023-03-22 07:53

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts [^]
Changeset: 40b69a4307131a0f7694ad64d8eeae4044d26aa3
Author: Prakash M <prakash@qualiantech.com>
Date: 22-03-2023 06:53:19
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/commit/40b69a4307131a0f7694ad64d8eeae4044d26aa3 [^]

Fixed ISSUE-51897: Included Filter Option Validation for Buy Any X type in BuyXGiftY discount

---
M web/org.openbravo.retail.discounts/app/model/business-logic/discounts-engine/engine/rules/buy-x-gift-y-discount.js
---

- Issue History
Date Modified Username Field Change
2023-03-17 10:16 noemieroussel New Issue
2023-03-17 10:16 noemieroussel Assigned To => Retail
2023-03-17 10:16 noemieroussel Triggers an Emergency Pack => No
2023-03-17 12:00 noemieroussel Summary Buy X Get Y is not displayed in POS => [Promo] - Buy X Get Y - Promotion KO when product categories and / or product characteristics selected in the filters
2023-03-17 12:00 noemieroussel Description Updated View Revisions
2023-03-20 09:36 rafaroda Relationship added related to 0051684
2023-03-20 11:12 rafaroda Relationship added related to 0050706
2023-03-20 12:40 hgbot Note Added: 0147704
2023-03-22 07:53 hgbot Resolution open => fixed
2023-03-22 07:53 hgbot Status new => closed
2023-03-22 07:53 hgbot Note Added: 0147799
2023-03-22 07:53 hgbot Fixed in Version => RR23Q2
2023-03-22 07:53 hgbot Note Added: 0147800


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker