Openbravo Issue Tracking System - Retail Modules
View Issue Details
0049280Retail ModulesWeb POSpublic2022-05-10 14:182022-05-25 09:05
collazoandy4 
rqueralta 
normalmajorhave not tried
closedfixed 
5
 
RR22Q3 
No
0049280: NPE en PaidReceipts when is called from OpenRelatedReceipts
When the PaidReceipts process is called from OpenRelatedReceipts process a NPE is raise if the order payment has a different financial account than the one defined in the Touchpoint
As White Valley Group Admin log in the backoffice
  Go to Issuing Company and select Restaurant Check record
    Set Gift Card Financial Account - EUR as Finnancial Account in Accounts tab
  Navigate to the finnancial account
  Create a new record in Payment Method tab:
    Payment Method: Wire Transfer
    Automatic Deposit: Y
  Go to Touchpoint type window and update YS POS Terminal Type record:
    Open related receipts: Y
  Log In YS-11 Pos terminal
    Select Carl Studson as customer
    Set the receipt as layaway
    Add Avalanche transceiver product
    Add a new Digital coupon payment:
      Issuing company: 'Restaurant Check'
      Check Number: 12345
      Amount: 20
      Expiration date: Next Month
    Syncronize the receipt as with the backend
    
    Create a new layaway for Carl Studon
    Add Balaclava cap product
    Syncronize the receipt as with the backend

    Open the last layway created and check Open Related receipt popup is shown
    Select the first layway created and check a NPE is raise in PaidReceipts.java because the posterminal object is null
Add a null check to posTerminal var in PaidReceipts
No tags attached.
Issue History
2022-05-10 14:18collazoandy4New Issue
2022-05-10 14:18collazoandy4Assigned To => Retail
2022-05-10 14:18collazoandy4Triggers an Emergency Pack => No
2022-05-11 05:56rqueraltaAssigned ToRetail => rqueralta
2022-05-11 05:56rqueraltaStatusnew => scheduled
2022-05-16 21:21hgbotNote Added: 0137355
2022-05-25 09:04hgbotResolutionopen => fixed
2022-05-25 09:04hgbotStatusscheduled => closed
2022-05-25 09:05hgbotFixed in Version => RR22Q3
2022-05-25 09:05hgbotNote Added: 0137703
2022-05-25 09:05hgbotNote Added: 0137704

Notes
(0137355)
hgbot   
2022-05-16 21:21   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/799 [^]
(0137703)
hgbot   
2022-05-25 09:05   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 181719afedf7da4d09de51f9987c7b3087a6465e
Author: Rafael Queralta <rafaelcuba81@gmail.com>
Date: 25-05-2022 07:04:49
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/181719afedf7da4d09de51f9987c7b3087a6465e [^]

Fixed BUG-49280: checked id posTerminal var is null before call executePaidReceiptsPaymentTypeTerminalHooks funtion

---
M src/org/openbravo/retail/posterminal/PaidReceipts.java
---
(0137704)
hgbot   
2022-05-25 09:05   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/799 [^]