Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014367Openbravo ERP09. Financial managementpublic2010-08-30 14:512011-05-12 13:30
sureshbabu 
eduardo_Argal 
urgentmajoralways
closedfixed 
5
2.50 
 
Advanced Payables and Receivables Mngmt
No
0014367: Payment monitor section wrongly updated as ""Payment complete" even when the payment docu is in awaiting execution
Payment monitor section wrongly updated as ""Payment complete" even when the payment docu is in awaiting execution
Steps:
1) create a payment method: "Auto_receipt_Deposit" with below details
Payment IN
Automatic Receipt:checked
Automatic Deposit: checked
Execution Type: Automatic
Execution Process: Print execution Process
Defered: unchecked


2) Assign the above payment method to a Financial account
3) Assign both Payment method & Financial account to a BP: red bunny

4) Try to create a sales invoice with below details

BP: Red Bunny
Product : Hammer
Qty: 10

And click complete button

Execute payment window appears with "Process completed successfully" message
appears along with "Execute" & "Cancel" button

5) Click "Cancel" button instead of "Execute" button, system navigates the user to the sales invoice header tab

Error 1: "Process completed successfully" message appears once again in sales invoice header tab


5) Click "Link items" to navigate to sales invoice header tab.

6) In the newly created invoice, check the Payment monitor status,


Issue 2: In the invoice header tab, (Payment complete check box is checked) even when the payment status in "Awaiting execution" (critical)





No tags attached.
depends on backport 0016959 closed gorkaion Payment monitor section wrongly updated as ""Payment complete" even when the payment docu is in awaiting execution 
Issue History
2010-08-30 14:51sureshbabuNew Issue
2010-08-30 14:51sureshbabuAssigned To => gorkaion
2010-10-08 11:19sureshbabuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=1029#r1029
2010-10-08 11:49sureshbabuSummaryExecute payment button missing in Sales/Purchase invoice window => Payment monitor section wrongly updated as ""Payment complete" even when the payment docu is in awaiting execution
2010-10-08 11:49sureshbabuDescription Updatedbug_revision_view_page.php?rev_id=1031#r1031
2010-10-11 09:25anandanAssigned Togorkaion => anandan
2010-10-11 09:32anandanStatusnew => scheduled
2010-10-11 09:32anandanNote Added: 0031738
2010-10-11 09:32anandanfix_in_branch => pi
2010-10-14 10:59sureshbabufix_in_branchpi =>
2010-10-14 10:59sureshbabuSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=1053#r1053
2011-04-13 09:57eduardo_ArgalAssigned Toanandan => eduardo_Argal
2011-04-13 09:58eduardo_ArgalStatusscheduled => acknowledged
2011-04-13 10:21psanjuanCategoryZ. Others => 09. Financial management
2011-04-13 10:23psanjuanNote Added: 0035889
2011-04-13 11:24psanjuanNote Edited: 0035889bug_revision_view_page.php?bugnote_id=0035889#r1836
2011-04-14 18:32psanjuanNote Edited: 0035889bug_revision_view_page.php?bugnote_id=0035889#r1849
2011-05-02 13:23gorkaionStatusacknowledged => scheduled
2011-05-02 13:23gorkaionfix_in_branch => pi
2011-05-04 18:20hgbotCheckin
2011-05-04 18:20hgbotNote Added: 0036368
2011-05-04 18:20hgbotStatusscheduled => resolved
2011-05-04 18:20hgbotResolutionopen => fixed
2011-05-04 18:20hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/169c77b737f27e7c7471c2550da7876b9f201b82 [^]
2011-05-04 18:37hgbotCheckin
2011-05-04 18:37hgbotNote Added: 0036371
2011-05-10 13:28psanjuanNote Added: 0036623
2011-05-10 13:28psanjuanStatusresolved => closed
2011-05-10 13:28psanjuanfix_in_branchpi =>
2011-05-12 13:29hudsonbotCheckin
2011-05-12 13:29hudsonbotNote Added: 0036817
2011-05-12 13:30hudsonbotCheckin
2011-05-12 13:30hudsonbotNote Added: 0036818

Notes
(0031738)
anandan   
2010-10-11 09:32   
fix in branch
(0035889)
psanjuan   
2011-04-13 10:23   
(edited on: 2011-04-14 18:32)
This issue also impacts remittance module because as soon as a payment is included in a remittance and processed, the invoice appears as paid regardless its status is:
"sent to bank via remittance"
or
"Payment awaiting execution"

An invoice is paid whenever:
A payment in has status "Payment receipt"
and a payment out has status "Payment made"

(0036368)
hgbot   
2011-05-04 18:20   
Repository: erp/devel/pi
Changeset: 169c77b737f27e7c7471c2550da7876b9f201b82
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Wed May 04 18:18:54 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/169c77b737f27e7c7471c2550da7876b9f201b82 [^]

Fixed issue 14367.Merged changes done on 2.50 repository of APR module.

---
M modules/org.openbravo.advpaymentmngt/src-db/database/model/functions/APRM_GEN_PAYMENTSCHEDULE_INV.xml
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_ExecutePayment.java
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
---
(0036371)
hgbot   
2011-05-04 18:37   
Repository: erp/devel/pi
Changeset: db034bb38a23b68bc4febf670877fe50338b106e
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Wed May 04 18:33:40 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/db034bb38a23b68bc4febf670877fe50338b106e [^]

Related to issue 14367.Add missing extension point definition.

---
M modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_EXTENSION_POINTS.xml
---
(0036623)
psanjuan   
2011-05-10 13:28   
fixed and working
(0036817)
hudsonbot   
2011-05-12 13:29   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/c40e579fcd38 [^]

Maturity status: Test
(0036818)
hudsonbot   
2011-05-12 13:30   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/c40e579fcd38 [^]

Maturity status: Test