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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048318
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajorhave not tried2021-12-14 12:192022-01-03 09:31
ReporteraferrazView Statuspublic 
Assigned Toranjith_qualiantech_com 
PrioritynormalResolutionfixedFixed in VersionRR21Q4.3
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionRR21Q4.3
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
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

0048318: 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 ]
blocks defect 0048248 closedranjith_qualiantech_com Wrong ticket amount when doing a Verified Return of a ticket with discount 

-  Notes
(0134081)
hgbot (developer)
2021-12-31 07:04

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/677 [^]
(0134093)
hgbot (developer)
2022-01-03 09:31

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 152048afcfc879e05a433afd4c45138555241aca
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 29-12-2021 14:30:26
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/152048afcfc879e05a433afd4c45138555241aca [^]

Fixed ISSUE-48318: 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
---
(0134094)
hgbot (developer)
2022-01-03 09:31

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/677 [^]

- Issue History
Date Modified Username Field Change
2021-12-24 09:11 marvintm Type defect => backport
2021-12-24 09:11 marvintm Target Version => RR21Q4.3
2021-12-31 07:04 hgbot Note Added: 0134081
2022-01-03 09:31 hgbot Resolution open => fixed
2022-01-03 09:31 hgbot Status scheduled => closed
2022-01-03 09:31 hgbot Fixed in Version => RR21Q4.3
2022-01-03 09:31 hgbot Note Added: 0134093
2022-01-03 09:31 hgbot Note Added: 0134094


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker