Openbravo Issue Tracking System - Retail Modules
View Issue Details
0049849Retail ModulesEvents for Paymentspublic2022-07-19 17:482022-09-19 07:09
jose_duque 
ranjith_qualiantech_com 
normalmajoralways
closedfixed 
30Openbravo Appliance 14.04
 
RR22Q4 
No
0049849: When doing a cancel and replace the payment method is changed to correspond to a default payment method
When we do a normal sales order and then do a cancel and replace on it, and the payment method is not the default one (defined where?) it will change the payment method.

Reproduced in livebuilds 20Q3.4
1. Make a normal sales order and pay it with a voucher
2. Make a cancel and replace, add a product and pay it by voucher.

When checking the details of the payment in the backoffice you will notice that there is a cash payment added.
No tags attached.
causes defect 0050649pi closed ranjith_qualiantech_com Canceling a layaway is resulting in an EWI 
causes defect 0053390 closed sreehari ExternalOrderLoader API: C&R doesn't work 
jpg Cancel and replace payment method.jpg (211,125) 2022-07-19 17:48
https://issues.openbravo.com/file_download.php?file_id=17326&type=bug
jpg

diff 49849_20Q3_posterminal.diff (1,253) 2022-08-02 07:32
https://issues.openbravo.com/file_download.php?file_id=17361&type=bug
Issue History
2022-07-19 17:48jose_duqueNew Issue
2022-07-19 17:48jose_duqueAssigned To => Retail
2022-07-19 17:48jose_duqueFile Added: Cancel and replace payment method.jpg
2022-07-19 17:48jose_duqueTriggers an Emergency Pack => No
2022-07-19 17:48jose_duqueIssue generated from0049846
2022-07-20 12:02ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2022-07-20 12:02ranjith_qualiantech_comStatusnew => scheduled
2022-07-25 11:28jose_duqueIssue Monitored: jose_duque
2022-07-25 11:35hgbotNote Added: 0139595
2022-08-01 06:18hgbotResolutionopen => fixed
2022-08-01 06:18hgbotStatusscheduled => closed
2022-08-01 06:18hgbotFixed in Version => RR22Q4
2022-08-01 06:18hgbotNote Added: 0139742
2022-08-01 06:18hgbotNote Added: 0139743
2022-08-02 07:32ranjith_qualiantech_comFile Added: 49849_20Q3_posterminal.diff
2022-09-12 13:19ranjith_qualiantech_comNote Added: 0141021
2022-09-12 13:19ranjith_qualiantech_comStatusclosed => new
2022-09-12 13:19ranjith_qualiantech_comResolutionfixed => open
2022-09-12 13:19ranjith_qualiantech_comFixed in VersionRR22Q4 =>
2022-09-12 13:19ranjith_qualiantech_comStatusnew => scheduled
2022-09-12 13:30kousalya_rNote Added: 0141024
2022-09-16 13:27hgbotNote Added: 0141186
2022-09-19 07:09hgbotResolutionopen => fixed
2022-09-19 07:09hgbotStatusscheduled => closed
2022-09-19 07:09hgbotFixed in Version => RR22Q4
2022-09-19 07:09hgbotNote Added: 0141210
2022-09-19 07:09hgbotNote Added: 0141211
2022-10-27 12:11ngarciaRelationship addedcauses 0050649
2023-09-14 08:44sreehariRelationship addedcauses 0053390

Notes
(0139595)
hgbot   
2022-07-25 11:35   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/874 [^]
(0139742)
hgbot   
2022-08-01 06:18   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: ed79c0a340ac3c9546141fb421eb2fab287d5cb7
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 01-08-2022 04:18:23
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/ed79c0a340ac3c9546141fb421eb2fab287d5cb7 [^]

Fixed ISSUE-49849: Order PaymentMethod should be updated with POS Payment Method
* When doing CR, Order PaymentMethod should be updated,
  only if order is fully paid and payment count should be one without prepayments

---
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/CompleteTicketUtils.js
---
(0139743)
hgbot   
2022-08-01 06:18   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/874 [^]
(0141021)
ranjith_qualiantech_com   
2022-09-12 13:19   
Payment Method not updated correctly in the backoffice order
(0141024)
kousalya_r   
2022-09-12 13:30   
when doing cancel and replace the payment method in payment plan tab is not updating correctly
(0141186)
hgbot   
2022-09-16 13:27   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/923 [^]
(0141210)
hgbot   
2022-09-19 07:09   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/923 [^]
(0141211)
hgbot   
2022-09-19 07:09   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 1ab8340a5080191cca30fff9486c360e44b6c549
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 16-09-2022 16:57:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/1ab8340a5080191cca30fff9486c360e44b6c549 [^]

Fixed ISSUE-49849: Order PaymentMethod should be updated with POS PaymentMethod
* When doing CR, Order PaymentMethod should be updated with POS PaymentMethod
* When doing CR, original payment method should be used to create the cancelled order

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
M web/org.openbravo.retail.posterminal/app/model/business-object/ticket/CompleteTicketUtils.js
---