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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0052006
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2023-03-29 15:462023-07-06 13:45
ReporternoemierousselView Statuspublic 
Assigned Tosreehari 
PriorityhighResolutionfixedFixed in Version23Q4
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

0052006: [Promos] - Free products per total amount - Order discount: free product quantities is doubled

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

For Free product per total amount promo with Optional application method, the gift quantity is double if selected in both Order discount and Payment.
Steps To Reproduce1. In the backoffice, create a promotion in the Window "Discounts and promotion" :

-Type: Free product per total amount
-Amount=100
-Gift reminder notification=Y
Application method: Optional

2. In the POS, add products for >100€.

3. Click on the "Order discount" and add the free product per total amount discount --> See that the gift is added to the ticket for 0€.

4. Go to the payment and see that the free product per total amount discount is already selected.

5. Click on "Finish" and see that a gift is added with its original price.

6. Delete the two gifts from the ticket.

7. Click on the "Order discount" and add the free product per total amount discount --> See that the gift is added to the ticket for 0€.

8. Go to the payment and remove the previously selected discount free product per total amount discount.

9. Click on finish and see that the gift is at his original price and not free.

Proposed SolutionEither the gift is selected on order discount or payment, it should be applied to the ticket only once.

TagsNo tags attached.
Attached Filestxt file icon Note.txt [^] (192 bytes) 2023-06-21 09:54 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0052807 closedsreehari [Promos] - Free products per total amount - Order discount: Free product qty increases when new discount is applied 

-  Notes
(0151213)
hgbot (developer)
2023-06-15 14:42

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1900 [^]
(0152162)
hgbot (developer)
2023-07-06 13:45

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/1900 [^]
(0152163)
hgbot (developer)
2023-07-06 13:45

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2 [^]
Changeset: 09a3af75e5f4aa5f67595cbac8e4a9bb52fd2ede
Author: Sreehari Venkataraman <sreehari@qualiantech.com>
Date: 06-07-2023 11:44:45
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/09a3af75e5f4aa5f67595cbac8e4a9bb52fd2ede [^]

Fixes ISSUE-52006: Fixed Quantity addition issue when Finish button clicked
* removing productsToBeAdded once the giftproducts are calculated

---
M web-jspack/org.openbravo.pos2/src/model/ticket/actions/SetFeaturedDiscountsIntoTicket.js
---

- Issue History
Date Modified Username Field Change
2023-03-29 15:46 noemieroussel New Issue
2023-03-29 15:46 noemieroussel Assigned To => Retail
2023-03-29 15:46 noemieroussel Triggers an Emergency Pack => No
2023-05-26 06:56 sreehari Assigned To Retail => sreehari
2023-05-30 07:07 sreehari Status new => scheduled
2023-06-02 10:01 noemieroussel Description Updated View Revisions
2023-06-02 10:01 noemieroussel Steps to Reproduce Updated View Revisions
2023-06-15 14:42 hgbot Note Added: 0151213
2023-06-21 09:34 sreehari Relationship added related to 0052807
2023-06-21 09:54 sreehari File Added: Note.txt
2023-07-06 13:45 hgbot Note Added: 0152162
2023-07-06 13:45 hgbot Resolution open => fixed
2023-07-06 13:45 hgbot Status scheduled => closed
2023-07-06 13:45 hgbot Fixed in Version => 23Q4
2023-07-06 13:45 hgbot Note Added: 0152163


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker