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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0057608
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajoralways2025-01-10 10:012025-02-13 12:46
Reporterigor_trebolView Statuspublic 
Assigned ToBimla_vm 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0057608: Cancel order with pre-payment error

DescriptionWhen creating a pre-paid order and trying to cancel it, the payments are wrong both in the POS and in the backoffice. In the example in the video, the refund is304.20 (twice the amount of the item minus the prepayment), when it should just be 33.8. The backoffice also shows a wrong payment plan in the cancel order.
Steps To Reproduce1. Configure prepayments:
    - Touchpoint type: 'Check Allow Prepayments and Partial Payments'
    - Organization: Set Prepayment Percentage and Prepayment Percentage Limit to a number lower than 100.

2. Select Arturo Montoro as BP.

3. Pick any product, and set it to 'Pickup in Store' by clicking on the line and Delivery Mode.

4. Make a partial payment and complete the order.

5. Go to orders screen, click on the three dots on that order and selet Cancel Order.

6. Go to payments.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 005788325Q1 closedBimla_vm Cancel order with pre-payment error 
has duplicate defect 0057874 closedinaki_luque Error on the cancel order on the POS with partial payment 
has duplicate defect 0057925 closeddmytro_tarasov Wrong Prepayments quantity in the Header when we cancel partially paid order. 

-  Notes
(0174009)
aaroncalero (manager)
2025-01-10 13:22

Note for the developer fixing the issue: It seems that the problem is that the isNegative field is not properly set when executing the Cancel Order action.
Since the isNegative field is incorrect, this causes the payment info to calculate incorrectly
(0174489)
hgbot (developer)
2025-01-22 07:32

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1885 [^]
(0174490)
hgbot (developer)
2025-01-22 07:32

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3396 [^]
(0175399)
hgbot (developer)
2025-02-10 14:53

Merge request closed: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/3396 [^]
(0175592)
hgbot (developer)
2025-02-13 12:46

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: bdf2811abebc39393892cfb534698ec51516ebf2
Author: Bimla Mayavan <b.mayavan@external.orisha.com>
Date: 13-02-2025 12:23:18
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/bdf2811abebc39393892cfb534698ec51516ebf2 [^]

Fixed ISSUE-57608: Set skipTaxCalculation value on cancel Ticket action

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/actions/CreateCancelTicket.js
---
(0175593)
hgbot (developer)
2025-02-13 12:46

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

- Issue History
Date Modified Username Field Change
2025-01-10 10:01 igor_trebol New Issue
2025-01-10 10:01 igor_trebol Assigned To => Retail
2025-01-10 10:01 igor_trebol Triggers an Emergency Pack => No
2025-01-10 10:18 igor_trebol Description Updated View Revisions
2025-01-10 10:18 igor_trebol Steps to Reproduce Updated View Revisions
2025-01-10 13:17 aaroncalero Assigned To Retail => jorgewederago
2025-01-10 13:17 aaroncalero Status new => acknowledged
2025-01-10 13:22 aaroncalero Note Added: 0174009
2025-01-13 04:45 Bimla_vm Assigned To jorgewederago => Bimla_vm
2025-01-13 04:45 Bimla_vm Status acknowledged => scheduled
2025-01-22 07:32 hgbot Note Added: 0174489
2025-01-22 07:32 hgbot Note Added: 0174490
2025-02-06 10:21 jorgewederago Relationship added has duplicate 0057874
2025-02-06 10:21 jorgewederago Status scheduled => feedback
2025-02-06 10:22 jorgewederago Status feedback => scheduled
2025-02-10 14:53 hgbot Note Added: 0175399
2025-02-10 15:20 migueldejuana Relationship added has duplicate 0057925
2025-02-13 12:46 hgbot Resolution open => fixed
2025-02-13 12:46 hgbot Status scheduled => closed
2025-02-13 12:46 hgbot Fixed in Version => RR25Q2
2025-02-13 12:46 hgbot Note Added: 0175592
2025-02-13 12:46 hgbot Note Added: 0175593


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker