Openbravo Issue Tracking System - POS2
View Issue Details
0047587POS2Corepublic2021-08-24 18:432021-09-07 07:36
jmelin 
AtulOpenbravo 
urgentcriticalalways
closedfixed 
5
 
 
Gold
2021-09-01
No
0047587: JIRA 2298 - Overpayment with cash and credit note applies on credit note instead of cash
When paying by credit note and cash
If there is an overpayment
then there must a cashback first

ex:
total to pay is 10€
customer gives a credit note of 7€ and cash of 5€ (total = 12€)

should give a cash back of 2€ in cash but instead the overpayment is "done" of credit note.

also received amount in "payment plan" and received/expected amount in "payment details" are not correct
For the generation of a credit note, you can refer to:
https://issues.openbravo.com/view.php?id=47586 [^]

n BO, switch to role "White valley group admin"
- Create a new "Payment method" named "Credit note return"

- create a new "Payment provider":
  - Provider = "Gift Card Provider"
  - Name = "Credit note return"

- Open "Touchpoint type" named "POS2SD VBS POS2 Terminal Type"
  - Add new payment method "Credit note return" linked to the previous payment method and with:
      - "Payment provider" = "Credit note return"
      - "Payment method type" = "Credit Note Payment Type"

- Create a financial account for vallblanca store and add the payment method "Credit note return"

- Open "Touchpoint" named "VBS-2"
  - Add "Payment type" with search key "Credit note return" and named "Credit note return"


Connect to VBS-2
-Create a new sales order and add "Avalanche transceiver" qty=1
- Checkout, click on payment method "Credit note return" and look for existing credit note (amount < total amount)
- Add a payment by cash so you have an overpayment

=> on the POS, we have a message "Change XX.XX €" (amount of the overpayment

- Click on done to close the order

=> open the sales order in BO
- the received amount for the credit note is not correct
- after clicking on the "Payment in" of the credit note, you can the overpayment of XX.XX€
No tags attached.
related to defect 0047547 closed AtulOpenbravo JIRA 2277 - Overpayment with CRT and Cash generate a credit note 
png 1.PNG (42,733) 2021-08-24 18:51
https://issues.openbravo.com/file_download.php?file_id=16146&type=bug
png

png 2.PNG (14,631) 2021-08-24 18:51
https://issues.openbravo.com/file_download.php?file_id=16147&type=bug
png

png 3.PNG (46,956) 2021-08-24 18:51
https://issues.openbravo.com/file_download.php?file_id=16148&type=bug
png
Issue History
2021-08-24 18:43jmelinNew Issue
2021-08-24 18:43jmelinAssigned To => Retail
2021-08-24 18:43jmelinOBNetwork customer => Gold
2021-08-24 18:43jmelinTriggers an Emergency Pack => No
2021-08-24 18:50jmelinSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=23028#r23028
2021-08-24 18:51jmelinFile Added: 1.PNG
2021-08-24 18:51jmelinFile Added: 2.PNG
2021-08-24 18:51jmelinFile Added: 3.PNG
2021-08-30 11:00dmiguelezRegression date => 2021-09-01
2021-08-30 11:00dmiguelezStatusnew => acknowledged
2021-08-30 11:02dmiguelezRelationship addedrelated to 0047547
2021-09-07 07:33AtulOpenbravoAssigned ToRetail => AtulOpenbravo
2021-09-07 07:33AtulOpenbravoStatusacknowledged => scheduled
2021-09-07 07:34AtulOpenbravoNote Added: 0131589
2021-09-07 07:34AtulOpenbravoStatusscheduled => resolved
2021-09-07 07:34AtulOpenbravoResolutionopen => fixed
2021-09-07 07:36AtulOpenbravoStatusresolved => closed

Notes
(0131589)
AtulOpenbravo   
2021-09-07 07:34   
Fixed in MR for issue 47547

https://issues.openbravo.com/view.php?id=47547 [^]

https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/83 [^] [^]