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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0058158
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Gift cards and gift vouchersminoralways2025-03-06 11:222025-03-20 11:50
ReporternjimenezView 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

0058158: Glitem generated while returning a credit not is not correct

Descriptionhttps://openbravo.atlassian.net/browse/RM-22844 [^]

In case of making a return of a credit note there are two financial account transactions generated.

One for the credit note payment and the other for the payment method used while returning the credit note. (This fields are, Financial account transaction and Related Transaction in Payment Method Cashup Events fron terminal cashup history)

While populating this transactions the glitem used is the one configured in the payment method for withdrawals. This is not correct, the one that should be used is the reimbursements one.
Steps To Reproduce1. Configure credit note functionality
2. Configure a payment method with its corresponding cash management event for refunds in the organization
3. Make a return and pay it with credit note to generate a new gift card instance with type credit note
4. Go to the main menu and open at store section the popup, Gift Cards / Credit Notes / Gift Certificates
5. Search the already created credit note and open it
6. Do click on refund select the configured payment method and confirm the reimbursement.

In case of not having configured the withdrawal glitem shouldn't be raised an error the created financial account transactions should have the reimbursement glitem instead of withdrawal.

See that the transaction generated for the payment method used on the refund is using the withdrawal one, this is not correct.
TagsNo tags attached.
Attached Filespng file icon Screenshot from 2025-03-06 11-22-03.png [^] (128,833 bytes) 2025-03-06 11:22


png file icon Screenshot from 2025-03-06 11-21-55.png [^] (159,804 bytes) 2025-03-06 11:24

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0176968)
hgbot (developer)
2025-03-19 08:04

Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1978 [^]
(0176969)
hgbot (developer)
2025-03-19 08:04

Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/448 [^]
(0177012)
hgbot (developer)
2025-03-20 11:48

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: ff4480979ce6c92982e7085826e337184a8f0cdc
Author: Bimla V Mayavan <b.mayavan@external.orisha.com>
Date: 20-03-2025 10:47:23
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/ff4480979ce6c92982e7085826e337184a8f0cdc [^]

Related to ISSUE-58158: Fixed the condition for glItem

---
M web/org.openbravo.retail.posterminal/app/model/business-object/cashup/actions/CreateAndProcessCashManagements.js
---
(0177013)
hgbot (developer)
2025-03-20 11:48

Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1978 [^]
(0177014)
hgbot (developer)
2025-03-20 11:50

Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/448 [^]
(0177015)
hgbot (developer)
2025-03-20 11: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.giftcards [^]
Changeset: 708981d1da62563bdf760bc8536ca067baeed459
Author: Bimla V Mayavan <b.mayavan@external.orisha.com>
Date: 20-03-2025 10:50:37
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/708981d1da62563bdf760bc8536ca067baeed459 [^]

Fixed ISSUE-58158: Use the reimbursement GLItem of the payment method used for reimburse

---
M web-jspack/org.openbravo.retail.giftcards/src/model/cashup/user-actions/CreateCashManagementCreditNoteRefund.js
---

- Issue History
Date Modified Username Field Change
2025-03-06 11:22 njimenez New Issue
2025-03-06 11:22 njimenez Assigned To => Retail
2025-03-06 11:22 njimenez File Added: Screenshot from 2025-03-06 11-22-03.png
2025-03-06 11:22 njimenez Triggers an Emergency Pack => No
2025-03-06 11:24 njimenez File Added: Screenshot from 2025-03-06 11-21-55.png
2025-03-06 12:59 guilleaer Assigned To Retail => guilleaer
2025-03-06 12:59 guilleaer Status new => acknowledged
2025-03-11 18:31 guilleaer Description Updated View Revisions
2025-03-13 14:37 guillermogil Severity major => minor
2025-03-14 09:04 Bimla_vm Assigned To guilleaer => Bimla_vm
2025-03-14 09:04 Bimla_vm Status acknowledged => scheduled
2025-03-19 08:04 hgbot Note Added: 0176968
2025-03-19 08:04 hgbot Note Added: 0176969
2025-03-20 11:48 hgbot Note Added: 0177012
2025-03-20 11:48 hgbot Note Added: 0177013
2025-03-20 11:50 hgbot Note Added: 0177014
2025-03-20 11:50 hgbot Resolution open => fixed
2025-03-20 11:50 hgbot Status scheduled => closed
2025-03-20 11:50 hgbot Note Added: 0177015


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker