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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0049893
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2022-07-28 11:342023-07-18 09:44
ReporterlorenzofidalgoView Statuspublic 
Assigned Tosreehari 
PriorityurgentResolutionduplicateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionmainSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0049893: [22Q3] Specific steps duplicate discounts even with discounts that are supposed not to be added more than once

DescriptionDiscounts get duplicated (or more) when some specific steps are executed using the POS2. Some discounts such as "disc_fixed_5_perc" can not (supposedly) be added more than once per line but, following these steps, that discount can be added several times.
Moreover, the total amount is decreased as consecuence and it is recorded with this cheaper price in the backoffice (check attached image).
I have not been able to reproduce this issue in POS1 (UI is slightly different).
Steps To Reproduce0-Login POS2 as vallblanca.
1-Add 1x "Avalanche transceiver" and 1x "Balaclava Cap" to the receipt.
2-Click in the first added line and, in the overlay, click "Discount" button.
3-Click both checkboxes to add discounts to both lines and add both available discounts ("disc_fixed_5_euro" & "disc_fixed_5_perc"). Click Apply button.
4-Click in the first added line and, in the overlay, click "Discount" button.
5-With only the first line checkbox selected, add "disc_fixed_5_euro" discount and click Apply. DEFECT: Discounts are multiplied (and this can be multiplied several times executing the same process again and again).
TagsNo tags attached.
Attached Filespng file icon 1DuplicatedDiscounts.png [^] (191,661 bytes) 2022-07-28 11:34


png file icon DuplicatedDiscounts.png [^] (98,248 bytes) 2022-07-28 11:34


png file icon WronglyAddedDiscounts.png [^] (194,840 bytes) 2022-07-28 11:34

- Relationships Relation Graph ] Dependency Graph ]
duplicate of feature request 0049884 closedgorka_gil Implement semi-automatic discounts in pos2 

-  Notes
(0152586)
sreehari (developer)
2023-07-18 09:43

The issue have already been fixed in this commit : https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/commit/0d402762afeecbe46aa2398af982589e7c55c650 [^]

- Issue History
Date Modified Username Field Change
2022-07-28 11:34 lorenzofidalgo New Issue
2022-07-28 11:34 lorenzofidalgo Assigned To => Retail
2022-07-28 11:34 lorenzofidalgo File Added: 1DuplicatedDiscounts.png
2022-07-28 11:34 lorenzofidalgo Triggers an Emergency Pack => No
2022-07-28 11:34 lorenzofidalgo File Added: DuplicatedDiscounts.png
2022-07-28 11:34 lorenzofidalgo File Added: WronglyAddedDiscounts.png
2022-07-28 12:25 lorenzofidalgo Description Updated View Revisions
2023-07-14 13:07 sreehari Assigned To Retail => sreehari
2023-07-18 07:21 guillermogil Status new => scheduled
2023-07-18 09:42 sreehari Relationship added duplicate of 0049884
2023-07-18 09:43 sreehari Note Added: 0152586
2023-07-18 09:44 sreehari Status scheduled => closed
2023-07-18 09:44 sreehari Resolution open => duplicate


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker