Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0048318 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| backport | [Retail Modules] Web POS | major | have not tried | 2021-12-14 12:19 | 2022-01-03 09:31 | |||
| Reporter | aferraz | View Status | public | |||||
| Assigned To | ranjith_qualiantech_com | |||||||
| Priority | normal | Resolution | fixed | Fixed in Version | RR21Q4.3 | |||
| Status | closed | Fix in branch | Fixed in SCM revision | |||||
| Projection | none | ETA | none | Target Version | RR21Q4.3 | |||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | SCM revision | |||||||
| Merge Request Status | approved | |||||||
| Review Assigned To | ||||||||
| OBNetwork customer | No | |||||||
| Support ticket | ||||||||
| Regression level | Production - Confirmed Stable | |||||||
| Regression date | 2021-07-07 | |||||||
| Regression introduced in release | RR21Q4 | |||||||
| Regression introduced by commit | https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/47c20b2a17f30c967126313c475d1c79e903c047 [^] | |||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0048318: Wrong ticket amount when doing a Verified Return of a ticket with discount | |||||||
| Description | Wrong 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. | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
||||||||
|
||||||||
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:25 | hgbot | Merge Request Status | open => approved |
| 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 |