Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0031367Openbravo ERP09. Financial managementpublic2015-11-05 10:162016-10-27 14:00
psanjuan 
markmm82 
urgentminoralways
scheduledopen 
20Ubuntu 8.04.1
 
 
Core
No
0031367: It should not be possible to change the payment method of an awaiting execution payment without being reactivated
It should not be possible to change the payment method of an awaiting execution payment without being reactivated
Go to Financial Account "Cuenta de Banco" for F&B España

Go to Payment Method tab. Configure "Cheque" payment method as below:

Payment In allowed
Execution Type = Automatic
Execution Process = Simple Execution Process
Deferred = Yes

Go to Sales Invoice and create a new sales invoice for F&B España, Alimentos y Supermercado BP. Select Cheque as payment method. Enter any line.

Complete the invoice and add a payment without selecting "Deposit" option.

Go to payment in window and check that a new payment has been created in "Awaiting Execution" status.

Without reactivating the payment, change the payment method to "Transferencia". Save.

Check that payment status remains as "Awaiting Execution", therefore the only option to set it as "Payment Made" is either to "Execute" the payment or to "Reactivate" the payment (and then "Add Details").

Press Execute Payment button. An error is shown as Transferencia is a manual execution payment. See image attached.

It should not be allowed to change the payment method of an awaiting execution payment without the payment being reactivated.

Moreover, an awaiting execution payment has already started the execution process which either should be finished (through execute payment option) or cancelled (through reactivate payment option, therefore a different payment method, either automatic or manual, can be selected).
No tags attached.
related to defect 0034322 closed rqueralta Payment of 0 amount created when voiding an unpaid invoice is created in Awaiting Execution status 
png issue_31367.png (117,887) 2015-11-05 10:30
https://issues.openbravo.com/file_download.php?file_id=8690&type=bug
png
Issue History
2015-11-05 10:16psanjuanNew Issue
2015-11-05 10:16psanjuanAssigned To => Triage Finance
2015-11-05 10:16psanjuanModules => Core
2015-11-05 10:16psanjuanTriggers an Emergency Pack => No
2015-11-05 10:22psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=10072#r10072
2015-11-05 10:22psanjuanProposed Solution updated
2015-11-05 10:26psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=10073#r10073
2015-11-05 10:26psanjuanProposed Solution updated
2015-11-05 10:30psanjuanFile Added: issue_31367.png
2016-01-22 22:06markmm82Statusnew => scheduled
2016-01-22 22:06markmm82Assigned ToTriage Finance => markmm82
2016-01-27 17:23markmm82Note Added: 0083642
2016-10-27 14:00ngarciaIssue Monitored: ngarcia
2016-10-27 14:09ngarciaRelationship addedrelated to 0034322

Notes
(0083642)
markmm82   
2016-01-27 17:23   
Is not possible to change the payment method of an awaiting execution payment without being reactivated

Test Plan:

-Go to Financial Account "Cuenta de Banco" for F&B España
-Go to Payment Method tab. Configure "Cheque" payment method as below:
    Payment In allowed
    Execution Type = Automatic
    Execution Process = Simple Execution Process
    Deferred = Yes
-Go to Sales Invoice and create a new sales invoice for F&B España, Alimentos y Supermercado BP. Select Cheque as payment method. Enter any line.

-Complete the invoice and add a payment without selecting "Deposit" option.

-Go to payment in window and check that a new payment has been created in "Awaiting Execution" status.

-Check that Without reactivating the payment, you can't change the payment method because it is "read-only".