|View Issue Details|
|Type||Category||Severity||Reproducibility||Date Submitted||Last Update|
|defect||[POS2] POS||major||always||2021-05-07 09:28||2021-06-16 17:38|
|Priority||normal||Resolution||no change required||Fixed in Version|
|Status||closed||Fix in branch||Fixed in SCM revision|
|OS Version||Database version||Ant version|
|Product Version||main||SCM revision|
|Review Assigned To||marvintm|
|Regression introduced in release|
|Regression introduced by commit|
|Triggers an Emergency Pack||No|
0046571: [21Q2] Payment Method is not properly recorded using Return Orders when Credit Notes are configured
|Description||Paying a Return Receipt with overpayment induces the Payment Method field is wrongly recorded in backoffice.|
|Steps To Reproduce||0-Configure Credit Notes for Card and Voucher Payment Methods for CMS-1.|
1-Log in CMS-1 as centralmountains.
2-Add 1x "Balaclava Cap".
3-Click Return order and Pay button.
4-Add 200€ and use Card as Payment Method. Pay and confirm overpayments.
5-Go to backoffice and go to "Return from Customer" window.
6-Select the just created record and go to Payment Plan tab and check Payment Method field. DEFECT: Realise Payment Method field shows Cash.
|Tags||No tags attached.|
|Attached Files|| CashPayment.png [^] (13,620 bytes) 2021-05-07 09:28
|Same applies to "normal" sales.|
There is a rule defined a long time ago about the payment method field in the payment plan tab, when orders come from the POS. The rule is: the payment method selected in the payment plan will be the default payment method for the business partner, unless there is only one payment detail. In the case there is only one payment method detail, then the selected payment method will be the payment method of the only payment related to this payment detail.
In this example, as there is overpayment later on returned in credit note, there are actually two payment details associated with the payment plan, and therefore the business partner default payment method is selected.
|2021-05-07 09:28||lorenzofidalgo||New Issue|
|2021-05-07 09:28||lorenzofidalgo||Assigned To||=> Retail|
|2021-05-07 09:28||lorenzofidalgo||File Added: CashPayment.png|
|2021-05-07 09:28||lorenzofidalgo||Triggers an Emergency Pack||=> No|
|2021-05-07 09:28||lorenzofidalgo||Relationship added||related to 0046570|
|2021-05-11 08:12||guilleaer||Status||new => acknowledged|
|2021-05-27 10:05||guilleaer||Severity||minor => major|
|2021-05-27 12:41||psanjuan||Note Added: 0128709|
|2021-05-27 12:42||psanjuan||Relationship added||related to 0046569|
|2021-06-10 17:53||guilleaer||Status||acknowledged => scheduled|
|2021-06-10 17:54||guilleaer||Assigned To||Retail => gorka_gil|
|2021-06-16 17:38||marvintm||Review Assigned To||=> marvintm|
|2021-06-16 17:38||marvintm||Note Added: 0129578|
|2021-06-16 17:38||marvintm||Status||scheduled => closed|
|2021-06-16 17:38||marvintm||Resolution||open => no change required|
|Copyright © 2000 - 2009 MantisBT Group|