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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0050974
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Discounts and Promotionsmajoralways2022-11-23 09:472023-02-19 09:09
ReporternoemierousselView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityurgentResolutionfixedFixed 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

0050974: [PROMO]- Buy X Get Y - Promotion is not triggered if the list of eligible products contains a product with other promotion

DescriptionIn the WebPos,the promotion type “ Buy X and get Y as gift “ gift product has to be added manually to trigger the promotion, if the list of eligible products contains product(s) with other promotion / commercial operation

See video:
https://drive.google.com/file/d/1kaVE-A_cOSle7_8B_wC3IRlFE6fhDV5l/view?usp=sharing [^]
Steps To ReproduceIn the BackOffice, create 3 promotions, the "Buy X and get Y as a gift, the commercial operation in a product, the price adjustment promotion in a product

1 - Buy X and get Y as a gift promotion :

                Name : Test Product with promotions

                type : Buy X and get Y as gift

               Subtype : Buy Any X Gift Any Y

               Application Method : Optional

Add in the list of products :

Product : “ Alpine poles “

Product with Opecom : “Avalanche transceiver classic “

Product with price adjustment: “Base camp duffel 70 L “

Gift Product : “ Beer 0.5L ”


2-Commercial operation

In "Commercial operation window", create a new record.

Untick "summary level" and select "The White Valley Group Sale Price List" name it "OPERATION COMMERCIAL in one product" and save the record.

Search on the list for the product with searchkey: WVG/M0100 of Avalanche transceiver classic and put a 10 percent discount. Validate. Save the record.

3-Price adjustment promotion :

                Name : Test Price adjustment

                type : Price adjustment

               Discount: 10 percent

               Product: Base camp duffel 70 L

               Application Method : Automatic


4-Go to the webpos and create a new ticket. Add the product without promo "Alpine poles" and go to the payment -> See that the promotion "Test Product with promotions" is displayed.

5-Create a new ticket. Add the product with commercial operation "Avalanche transceiver classic" and go to payment --> KO see that the promotion "Test Product with promotions" is not display

6-Create a new ticket. Add the product with promotion "Base camp duffel 70 L" ..> KO see that the promotion "Test Product with promotions" is not display
Proposed SolutionPromotion should be triggered if the list of eligible products contains a product with other promotion if it's cumulative (Apply Next Discount ticked)
TagsFASH
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0050893 closedAaron_Alvarez POS2 Optional discounts with giftNotification gives error when navigating to order discounts 

-  Notes
(0144794)
hgbot (developer)
2022-12-19 05:44

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/80 [^]
(0146724)
hgbot (developer)
2023-02-19 09:09

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/merge_requests/80 [^]
(0146725)
hgbot (developer)
2023-02-19 09:09

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts [^]
Changeset: dd76be63bbf02e94c6cca785086eec005c3d543c
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 19-02-2023 07:57:57
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.discounts/-/commit/dd76be63bbf02e94c6cca785086eec005c3d543c [^]

Fixed ISSUE-50974: Available Qty should be fetched irrespective of discounts
* Available Qty should be calculated based on the Available products

---
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
2022-11-23 09:47 noemieroussel New Issue
2022-11-23 09:47 noemieroussel Assigned To => Retail
2022-11-23 09:47 noemieroussel Triggers an Emergency Pack => No
2022-11-23 09:47 noemieroussel Tag Attached: FASH
2022-11-23 09:49 noemieroussel Steps to Reproduce Updated View Revisions
2022-11-23 11:01 rafaroda Priority high => urgent
2022-11-30 21:59 rafaroda Relationship added related to 0050893
2022-12-05 17:20 noemieroussel Description Updated View Revisions
2022-12-05 17:20 noemieroussel Steps to Reproduce Updated View Revisions
2022-12-12 16:18 noemieroussel Type design defect => defect
2022-12-13 14:25 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2022-12-13 14:25 ranjith_qualiantech_com Status new => scheduled
2022-12-19 05:44 hgbot Note Added: 0144794
2023-02-19 09:09 hgbot Note Added: 0146724
2023-02-19 09:09 hgbot Resolution open => fixed
2023-02-19 09:09 hgbot Status scheduled => closed
2023-02-19 09:09 hgbot Fixed in Version => RR23Q2
2023-02-19 09:09 hgbot Note Added: 0146725


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker