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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0053142
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2023-08-02 14:172023-08-30 13:44
ReportersofidossantView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionRR22Q2SCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0053142: Error with Credit note after adding the changes from issue 49409

DescriptionIf I add the changes from the issue https://issues.openbravo.com/view.php?id=49409 [^] and obviously have the changes from the issue https://issues.openbravo.com/view.php?id=37541, [^] I have the following error:


806685b3f246cc1e98997849eec0e7c5.js:205824 Uncaught TypeError: Cannot read properties of undefined (reading 'id')
    at giftcardPopup (806685b3f246cc1e98997849eec0e7c5.js:205824:54)
    at 806685b3f246cc1e98997849eec0e7c5.js:205882:7
    at G.d.callbackExecutor (806685b3f246cc1e98997849eec0e7c5.js:36984:7)
    at 806685b3f246cc1e98997849eec0e7c5.js:174586:23
    at G.d.callbackExecutor (806685b3f246cc1e98997849eec0e7c5.js:36984:7)
    at G.d.executeHooks (806685b3f246cc1e98997849eec0e7c5.js:36973:10)
    at 806685b3f246cc1e98997849eec0e7c5.js:83144:31
    at OB.UTIL.PrepaymentUtils.managePrepaymentChange (806685b3f246cc1e98997849eec0e7c5.js:91924:9)
    at G.d.addPayment (806685b3f246cc1e98997849eec0e7c5.js:83139:31)
    at G.d.addPayment (806685b3f246cc1e98997849eec0e7c5.js:116082:27)
Steps To Reproduce1 - Have the changes of the issues applied to the related issues.
2 - Open the webpos.
3 - Add a positive ticket and a non-generic customer.
4 - Add a negative ticket (with an amount greater than the positive one) and a customer
5. Pay open tickets and select the two previous ones.
6. Select the Avoir option and you will see the error in the console when giving pay total
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0049409 closedjorgewederago Pay open Tickets: Allow mixing positive and negative transaction 
related to defect 0037541 closedranjith_qualiantech_com [SER-QA] The Credit Note printed is not the one actually redeemed, when paying with someone else's Credit Note 

-  Notes
(0153492)
hgbot (developer)
2023-08-16 07:12

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/258 [^]
(0154073)
hgbot (developer)
2023-08-29 06:40

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: 2788c6388d8328f1c899f91676734a337a3c6a9f
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 28-08-2023 11:54:15
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/2788c6388d8328f1c899f91676734a337a3c6a9f [^]

Fixed ISSUE-53142: CreditNote created in PayOpenTickets for negative orders
* When completing negative ticket in PayOpenTickets,
  credit note should be created for negative ticket business partner

---
M web/org.openbravo.retail.giftcards/js/hooks/preaddpaymenthook.js
---
(0154074)
hgbot (developer)
2023-08-29 06:40

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/258 [^]
(0154203)
hgbot (developer)
2023-08-30 13:44

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: 51a30f611a08bd20c40b76181b950da4bb259fee
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 30-08-2023 17:14:02
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/51a30f611a08bd20c40b76181b950da4bb259fee [^]

Related to ISSUE-53142: CreditNote searchKey should be created with negative orderId

---
M web/org.openbravo.retail.giftcards/js/hooks/preaddpaymenthook.js
---

- Issue History
Date Modified Username Field Change
2023-08-02 14:17 sofidossant New Issue
2023-08-02 14:17 sofidossant Assigned To => Retail
2023-08-02 14:17 sofidossant Triggers an Emergency Pack => No
2023-08-07 14:11 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2023-08-08 13:34 ranjith_qualiantech_com Status new => scheduled
2023-08-16 07:12 hgbot Note Added: 0153492
2023-08-29 06:40 hgbot Resolution open => fixed
2023-08-29 06:40 hgbot Status scheduled => closed
2023-08-29 06:40 hgbot Note Added: 0154073
2023-08-29 06:40 hgbot Note Added: 0154074
2023-08-30 01:41 rafaroda Relationship added related to 0049409
2023-08-30 01:42 rafaroda Relationship added related to 0037541
2023-08-30 13:44 hgbot Note Added: 0154203


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker