Openbravo Issue Tracking System - Retail Modules
View Issue Details
0040711Retail ModulesGift cards and gift voucherspublic2019-04-30 10:582019-05-20 13:51
prakashmurugesan88 
ranjith_qualiantech_com 
highmajoralways
closedfixed 
5
 
RR19Q3 
marvintm
No
0040711: Javascript error when applying a Credit Note in Pay Open Tickets where orders belong to different Business Partners
Preference "Web POS Forbid use a Credit Note with a different Customer" must be set to reproduce this issue.

Javascript error occurs when applying a Credit Note in Pay Open Tickets where orders belong to different Business Partners.
Set Preference "Web POS Forbid use a Credit Note with a different Customer" to "Y".
Create two layaways belonging to different Business Partners (one of them need to have a credit note available).
Open both layaways and select ""Pay Open Tickets"".
Select "Credit Note" as payment method.
Search and choose the credit note.
In credit note pop up click "Apply" button.
Javascript error appears.

Video:
https://drive.google.com/file/d/1RFZuqSciX9s3sDE4aBXM10iz3XgFoLgJ/view [^]
Please check the attachment
No tags attached.
patch Issue92_CreditNoteIssueInPayOpenTicket.patch (2,270) 2019-04-30 10:58
https://issues.openbravo.com/file_download.php?file_id=12900&type=bug
Issue History
2019-04-30 10:58prakashmurugesan88New Issue
2019-04-30 10:58prakashmurugesan88Assigned To => Retail
2019-04-30 10:58prakashmurugesan88File Added: Issue92_CreditNoteIssueInPayOpenTicket.patch
2019-04-30 10:58prakashmurugesan88Triggers an Emergency Pack => No
2019-04-30 11:19guillermogilResolution time => 1558389600
2019-04-30 11:19guillermogilCategoryWeb POS => Gift cards and gift vouchers
2019-05-02 09:32ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2019-05-02 13:16ranjith_qualiantech_comStatusnew => scheduled
2019-05-02 13:34hgbotCheckin
2019-05-02 13:34hgbotNote Added: 0111435
2019-05-03 07:29ranjith_qualiantech_comStatusscheduled => resolved
2019-05-03 07:29ranjith_qualiantech_comResolutionopen => fixed
2019-05-07 18:46marvintmReview Assigned To => marvintm
2019-05-07 18:46marvintmStatusresolved => closed
2019-05-07 18:46marvintmFixed in Version => RR19Q3
2019-05-16 12:44ucarrionNote Added: 0111718
2019-05-16 12:44ucarrionStatusclosed => new
2019-05-16 12:44ucarrionResolutionfixed => open
2019-05-16 12:44ucarrionFixed in VersionRR19Q3 =>
2019-05-16 13:30guillermogilNote Edited: 0111718bug_revision_view_page.php?bugnote_id=0111718#r18781
2019-05-17 07:30ranjith_qualiantech_comStatusnew => scheduled
2019-05-17 11:08hgbotCheckin
2019-05-17 11:08hgbotNote Added: 0111768
2019-05-17 14:59ranjith_qualiantech_comStatusscheduled => resolved
2019-05-17 14:59ranjith_qualiantech_comResolutionopen => fixed
2019-05-20 13:51marvintmStatusresolved => closed
2019-05-20 13:51marvintmFixed in Version => RR19Q3

Notes
(0111435)
hgbot   
2019-05-02 13:34   
Repository: erp/pmods/org.openbravo.retail.giftcards
Changeset: 079647f01d6c85e37281537dd8ded5a03396bfae
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Thu May 02 17:04:10 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/079647f01d6c85e37281537dd8ded5a03396bfae [^]

Related to issue 40711 : Credit Note owner should be validated with receipt customer when completing the receipt

* When Pref. GCNV_ForbidUseCreditNoteForDifferentCustomer is enabled, credit note owner should be same as receipt customer
  In Pay Open Tickets, credit note owner should be same as receipt customer for all receipts

---
M web/org.openbravo.retail.giftcards/js/components/GiftCardDetails.js
---
(0111718)
ucarrion   
2019-05-16 12:44   
(edited on: 2019-05-16 13:30)
Javascript error when trying to reimburse a Credit Note.

Steps to reproduce:
1. Log into webPOS.
2. Select menu option Cash Management.
3. Select option ""Rembourse"".
4. Select a Credit Note to be reimbursed.
5. Click on ""Apply"".
--- Javascript error appears

Note: Fobid Anonymous Credit now preference should be set to Y

(0111768)
hgbot   
2019-05-17 11:08   
Repository: erp/pmods/org.openbravo.retail.giftcards
Changeset: 9e3efa9c75a28927c6cc51910ebb353c7f6715b8
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Fri May 17 14:38:25 2019 +0530
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/9e3efa9c75a28927c6cc51910ebb353c7f6715b8 [^]

Related to issue 40711 : Gift Card owner should not be checked when reimburse CreditNote/Gift Certificate through Cash Managment

---
M web/org.openbravo.retail.giftcards/js/components/GiftCardDetails.js
M web/org.openbravo.retail.giftcards/js/components/GiftCardDialog.js
M web/org.openbravo.retail.giftcards/js/model/GiftCardUtils.js
---