Openbravo Issue Tracking System - Retail Modules
View Issue Details
0045937Retail ModulesWeb POSpublic2021-02-23 01:532021-03-02 06:52
collazoandy4 
ranjith_qualiantech_com 
normalmajorhave not tried
closedfixed 
5
 
 
No
0045937: Can't create a new credit note payment line if a processed credit note payment line exists
A new credit note payment line can't be added to the receipt when exists a processed credit note payment line in the receipt.

The credit note payment popup is shown because the newTransactionId is undefined in OBPOS_preAddPayment hook
Log in YS-11 Web Pos terminal
  Complete a new receipt for Avalanche Transceiver product
  Return the previous receipt created using Credit Note as Payment method
  Create a new receipt for Headlamp ultraligth product and pay it with Cash (amount: 1) and Credit Note (amount: 17.90) payment methods
  Open the previous receipt and revert the Cash payment, try to pay the remaining amount with Credit Note and check no payment line is created
No tags attached.
Issue History
2021-02-23 01:53collazoandy4New Issue
2021-02-23 01:53collazoandy4Assigned To => Retail
2021-02-23 01:53collazoandy4Resolution time => 1615158000
2021-02-23 01:53collazoandy4Triggers an Emergency Pack => No
2021-02-23 07:04ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2021-02-24 02:05ranjith_qualiantech_comStatusnew => scheduled
2021-02-25 06:43hgbotNote Added: 0126361
2021-03-02 06:52hgbotResolutionopen => fixed
2021-03-02 06:52hgbotStatusscheduled => closed
2021-03-02 06:52hgbotNote Added: 0126438
2021-03-02 06:52hgbotNote Added: 0126439

Notes
(0126361)
hgbot   
2021-02-25 06:43   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/41 [^]
(0126438)
hgbot   
2021-03-02 06:52   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^]
Changeset: 99dd316ff2fe69721e67375e3846f80fcd6f77a6
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 2021-02-25T11:12:15+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/99dd316ff2fe69721e67375e3846f80fcd6f77a6 [^]

Fixed ISSUE-45937: Add payment of CreditNote should be validated without Prepayments
* When adding CreditNote as payment, it should be update non-prepayment credit note if presents
  or, it should create new payment

---
M web/org.openbravo.retail.giftcards/js/model/GiftCardUtils.js
---
(0126439)
hgbot   
2021-03-02 06:52   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/41 [^]