Openbravo Issue Tracking System - POS2
View Issue Details
0047586POS2Corepublic2021-08-24 18:222021-09-03 10:08
jmelin 
vmromanos 
urgentcriticalalways
closedduplicate 
5
 
 
vmromanos
No
0047586: JIRA 2297 - Generation through overpayment and payment amount in BO
When generating a credit note with an overpayment, the payment plan/payment details/"payment in" are not correct

For example, I have to pay 3€.
I give a "Ticket restaurant" of 10€
I have an overpayment of 7€ that generated a credit notes of 7€.

Expectation:
- in payment details: "Ticket restaurant" for a payment of 3€
- in payment in of "Ticket restaurant" : amount = 10€ and "Overpayment" of 7€

Currently:
- in payment details: "Ticket restaurant" for a payment of 1€ and "Credit note" of 2€

- in "payment in" of "Ticket restaurant" : amount = 1€ and "Overpayment" of 9€
- in "payment in" of "Credit notes" : amount = 2€ and "Overpayment" of 5€
In BO, switch to role "White valley group admin"
- In "Organization" Vall Blanca Store set:
  - credit note expiration days =10
  - use credit note once = checked

- Create a new "Payment method" named "Credit note generation"

- Open "Touchpoint type" named "POS2SD VBS POS2 Terminal Type"
  - Add new payment method "Credit note generation" linked to the previous payment method
  - Modify "Voucher" method and check "Return overpayment as credit note"

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

- Open "Touchpoint" named "VBS-2"
  - Add "Payment type" with search key "GCNV_payment.creditnote" and named "Credit note generation"


Connect to VBS-2
-Create a new sales order and add "Avalanche transceiver" qty=1

- Checkout and pay with "Voucher" for an amount of "300"


=> it generates a credit note of 149.50
but in the sales order
- we have two payment method 'credit note' and 'voucher'
- amount of each can't retrieve or are not understable
No tags attached.
duplicate of defect 0046874 closed vmromanos Cash up not correct while using Credit Notes feature 
related to defect 0047547 closed AtulOpenbravo JIRA 2277 - Overpayment with CRT and Cash generate a credit note 
depends on backport 0047605TAP closed vmromanos JIRA 2297 - Generation through overpayment and payment amount in BO 
Issue History
2021-08-24 18:22jmelinNew Issue
2021-08-24 18:22jmelinAssigned To => Retail
2021-08-24 18:22jmelinTriggers an Emergency Pack => No
2021-08-24 18:52jmelinSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=23030#r23030
2021-08-30 11:02dmiguelezStatusnew => acknowledged
2021-08-30 11:02dmiguelezRelationship addedrelated to 0047547
2021-08-30 11:02dmiguelezStatusacknowledged => scheduled
2021-08-30 11:03dmiguelezStatusscheduled => acknowledged
2021-08-31 11:29jmelinDescription Updatedbug_revision_view_page.php?rev_id=23052#r23052
2021-08-31 11:30jmelinDescription Updatedbug_revision_view_page.php?rev_id=23053#r23053
2021-09-02 16:36vmromanosRelationship addedcaused by 0046874
2021-09-03 10:07vmromanosStatusacknowledged => scheduled
2021-09-03 10:07vmromanosAssigned ToRetail => vmromanos
2021-09-03 10:08vmromanosReview Assigned To => vmromanos
2021-09-03 10:08vmromanosRelationship replacedduplicate of 0046874
2021-09-03 10:08vmromanosNote Added: 0131543
2021-09-03 10:08vmromanosStatusscheduled => closed
2021-09-03 10:08vmromanosResolutionopen => duplicate

Notes
(0131543)
vmromanos   
2021-09-03 10:08   
The issue has been fixed with 0046874