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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0058145
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminoralways2025-03-05 14:522025-03-27 08:50
ReportersofidossantView Statuspublic 
Assigned ToBimla_vm 
PrioritynormalResolutionfixedFixed in VersionRR25Q2
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionRR24Q4SCM revision 
Merge Request Statusapproved
Review Assigned To
OBNetwork customerOBPS
Support ticket121253
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0058145: Return rounding with discounts

DescriptionWhen I make the return of an order with a quantity line 2 and a discount as for example 30.99, and I make 2 returns (1 of each quantity), the discount gives me 15.50, which is incorrect because if we add 15.50 *2= 31, and not 30.99.

This causes errors with the RT Printer, as we see the difference error “Receipt verification error: Sum of gross of each line is not equal to gross: ‘closed’, gross: XX, difference: XX”
Steps To Reproduce1- Open the webpos.
2- Do a order with 1 line with qty 2, price 154.95, and applied the discount with 10%, see the discount 30.99
3- Pay the order
4 - Do a return for 1 qty, see the discount 15.50
5- Do a return with the rest of wty, see the discount 15.50.

Incorrect, we have the total 31 and not 30.99

VIDEO
https://drive.google.com/file/d/1otOLvzw7bymVX304D1l73EfUwBj0B5tn/view?usp=sharing [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0176834)
hgbot (developer)
2025-03-14 09:57

Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.returns/-/merge_requests/85 [^]
(0177299)
hgbot (developer)
2025-03-27 05:43

Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1991 [^]
(0177306)
hgbot (developer)
2025-03-27 08:50

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: d97a9ecd253253811a473e3bc5a53b0f42bc69c6
Author: Bimla V Mayavan <b.mayavan@external.orisha.com>
Date: 27-03-2025 04:50:37
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/d97a9ecd253253811a473e3bc5a53b0f42bc69c6 [^]

Related to ISSUE-58145: Calculate usedDiscountAmt of the order

---
M src/org/openbravo/retail/posterminal/PaidReceipts.java
---
(0177307)
hgbot (developer)
2025-03-27 08:50

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: f4a6b49a0ca2053c2f266b4c36cac29472173e06
Author: Bimla V Mayavan <b.mayavan@external.orisha.com>
Date: 27-03-2025 04:50:37
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/f4a6b49a0ca2053c2f266b4c36cac29472173e06 [^]

Fixed ISSUE-58145: Code review changes

---
M src/org/openbravo/retail/posterminal/PaidReceipts.java
---
(0177308)
hgbot (developer)
2025-03-27 08:50

Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1991 [^]
(0177309)
hgbot (developer)
2025-03-27 08:50

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.returns [^]
Changeset: 8142945a547a5476bcce05f1a07d57d2bd127f7e
Author: Bimla V Mayavan <b.mayavan@external.orisha.com>
Date: 14-03-2025 12:25:08
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.returns/-/commit/8142945a547a5476bcce05f1a07d57d2bd127f7e [^]

Fixed ISSUE-58145: Calculate promotion amount during return order

---
M web/org.openbravo.retail.returns/app/model/business-object/ticket/actions/ReturnVerifiedTicket.js
---
(0177310)
hgbot (developer)
2025-03-27 08:50

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.returns [^]
Changeset: 38ae3991750f324be7380675b7ec1dae939c4f37
Author: Bimla V Mayavan <b.mayavan@external.orisha.com>
Date: 24-03-2025 11:17:41
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.returns/-/commit/38ae3991750f324be7380675b7ec1dae939c4f37 [^]

Fixed ISSUE-58145: Code review changes

---
M web-test/model/business-object/ticket/actions/ReturnVerifiedTicket.test.js
M web/org.openbravo.retail.returns/app/model/business-object/ticket/actions/ReturnVerifiedTicket.js
---
(0177311)
hgbot (developer)
2025-03-27 08:50

Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.returns/-/merge_requests/85 [^]

- Issue History
Date Modified Username Field Change
2025-03-05 14:52 sofidossant New Issue
2025-03-05 14:52 sofidossant Assigned To => Retail
2025-03-05 14:52 sofidossant OBNetwork customer => OBPS
2025-03-05 14:52 sofidossant Support ticket => 121253
2025-03-05 14:52 sofidossant Triggers an Emergency Pack => No
2025-03-06 14:27 Bimla_vm Assigned To Retail => Bimla_vm
2025-03-06 14:27 Bimla_vm Status new => scheduled
2025-03-14 09:57 hgbot Merge Request Status => open
2025-03-14 09:57 hgbot Note Added: 0176834
2025-03-27 05:43 hgbot Note Added: 0177299
2025-03-27 08:49 hgbot Merge Request Status open => approved
2025-03-27 08:50 hgbot Note Added: 0177306
2025-03-27 08:50 hgbot Resolution open => fixed
2025-03-27 08:50 hgbot Status scheduled => closed
2025-03-27 08:50 hgbot Fixed in Version => RR25Q2
2025-03-27 08:50 hgbot Note Added: 0177307
2025-03-27 08:50 hgbot Note Added: 0177308
2025-03-27 08:50 hgbot Note Added: 0177309
2025-03-27 08:50 hgbot Note Added: 0177310
2025-03-27 08:50 hgbot Note Added: 0177311


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker