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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048248
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajorhave not tried2021-12-14 12:192021-12-29 06:33
ReporteraferrazView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionfixedFixed in VersionRR22Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Statusapproved
Review Assigned To
OBNetwork customerNo
Support ticket
Regression levelProduction - Confirmed Stable
Regression date2021-07-07
Regression introduced in releaseRR21Q4
Regression introduced by commithttps://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/47c20b2a17f30c967126313c475d1c79e903c047 [^]
Triggers an Emergency PackNo
Summary

0048248: Wrong ticket amount when doing a Verified Return of a ticket with discount

DescriptionWrong ticket amount when doing a Verified Return of a ticket with discount.

Jest tests should be added for 0047254 and 0048248.
Steps To Reproduce- In Backoffice, Create a Discount and Promotion of type Fixed Discount per Total Amount and amount 10.
- In POS2, create a ticket with one unit of Avalanche transceiver, add previously created Order Discount and complete. Check ticket amount is 140.50€.
- In POS2, create verified return for previously created ticket. Check ticket amount is 130.50€. This is not correct.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0048309 closedranjith_qualiantech_com POS2 Taxes are not correctly calculated for menus when tax is defined at price list level 
depends on backport 0048318RR21Q4.3 closedranjith_qualiantech_com Retail Modules Wrong ticket amount when doing a Verified Return of a ticket with discount 
caused by defect 0047254 closedrqueralta Retail Modules Error when making a verified return when there is a promotion 
related to defect 0048234 closedsntgreale POS2 Verified returns and discounts are not having a correct behavior - Case 3 
related to defect 0048273 closedranjith_qualiantech_com POS2 Jira 2579 [TAP] The rounding calculation is not always correct in verified return with discount 
blocks defect 0048148 closedRetail POS2 Verified returns and discounts are not having a correct behavior (Umbrella issue) 
blocks backport 0048368TAP closedranjith_qualiantech_com POS2 Backport issue 48248 to TAP - JIRA 2588 - Wrong ticket amount when doing a Verified Return of a ticket with discount 

-  Notes
(0133928)
guilleaer (viewer)
2021-12-23 09:33

JIRA from AGP associated

https://openbravo.atlassian.net/browse/FLUN-2588 [^]
(0133939)
hgbot (developer)
2021-12-24 08:47

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/669 [^]
(0134033)
hgbot (developer)
2021-12-29 06:33

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/669 [^]
(0134034)
hgbot (developer)
2021-12-29 06:33

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 9e1b767aa106a44935d5f591bbc3f3f2a0a4eff0
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 29-12-2021 05:33:24
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/9e1b767aa106a44935d5f591bbc3f3f2a0a4eff0 [^]

Fixed ISSUE-48248: DiscountAmount should not be used to calculate line Gross Amount
* When calculating line gross amount with skipPromotion enabled,
  discount amount should not be used to calculate line Gross Amount,
  since gross amount already adjusted with discount amount

---
M web-test/model/business-object/ticket/CalculateTotalsModelHook.test.js
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/TicketUtils.js
---

- Issue History
Date Modified Username Field Change
2021-12-14 12:19 aferraz New Issue
2021-12-14 12:19 aferraz Assigned To => Retail
2021-12-14 12:19 aferraz OBNetwork customer => No
2021-12-14 12:19 aferraz Regression level => Production - Confirmed Stable
2021-12-14 12:19 aferraz Regression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/47c20b2a17f30c967126313c475d1c79e903c047 [^]
2021-12-14 12:19 aferraz Triggers an Emergency Pack => No
2021-12-14 12:21 aferraz Description Updated View Revisions
2021-12-14 12:21 aferraz Relationship added caused by 0047254
2021-12-14 12:22 aferraz Relationship added related to 0048234
2021-12-15 15:49 aferraz Project POS2 => Retail Modules
2021-12-15 15:50 aferraz Category POS => Web POS
2021-12-16 08:12 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2021-12-23 09:33 guilleaer Note Added: 0133928
2021-12-23 09:42 guilleaer Relationship added related to 0048309
2021-12-23 09:49 guilleaer Relationship added blocks 0048148
2021-12-23 10:03 guilleaer Status new => acknowledged
2021-12-24 08:47 hgbot Merge Request Status => open
2021-12-24 08:47 hgbot Note Added: 0133939
2021-12-24 09:10 ranjith_qualiantech_com Regression date => 2021-07-07
2021-12-24 09:10 ranjith_qualiantech_com Regression introduced in release => RR21Q4
2021-12-24 09:11 marvintm Status acknowledged => scheduled
2021-12-28 14:51 hgbot Merge Request Status open => approved
2021-12-29 06:33 hgbot Resolution open => fixed
2021-12-29 06:33 hgbot Status scheduled => closed
2021-12-29 06:33 hgbot Note Added: 0134033
2021-12-29 06:33 hgbot Fixed in Version => RR22Q1
2021-12-29 06:33 hgbot Note Added: 0134034
2022-01-10 16:44 guilleaer Relationship added blocks 0048368
2022-01-12 08:42 ranjith_qualiantech_com Relationship added related to 0048273


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker