Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016959Openbravo ERP09. Financial managementpublic2010-08-30 14:512011-06-22 11:02
sureshbabu 
gorkaion 
urgentmajoralways
closedfixed 
5
2.50 
 
Advanced Payables and Receivables Mngmt
No
0016959: 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.
blocks defect 0014367 closed eduardo_Argal Payment monitor section wrongly updated as ""Payment complete" even when the payment docu is in awaiting execution 
Issue History
2011-05-02 13:23gorkaionTypedefect => backport
2011-05-02 13:23gorkaionfix_in_branch => 2.50
2011-05-02 13:30gorkaionAssigned Toeduardo_Argal => gorkaion
2011-05-02 13:33hgbotCheckin
2011-05-02 13:33hgbotNote Added: 0036260
2011-05-02 13:33hgbotStatusscheduled => resolved
2011-05-02 13:33hgbotResolutionopen => fixed
2011-05-02 13:33hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt/rev/e503f1022b241533f671dc040c9fb09b13bbe2f8 [^]
2011-05-03 18:43hgbotCheckin
2011-05-03 18:43hgbotNote Added: 0036337
2011-05-03 18:58hgbotCheckin
2011-05-03 18:58hgbotNote Added: 0036338
2011-05-04 09:41hgbotCheckin
2011-05-04 09:41hgbotNote Added: 0036345
2011-05-04 18:41hgbotCheckin
2011-05-04 18:41hgbotNote Added: 0036372
2011-05-30 11:30hgbotCheckin
2011-05-30 11:30hgbotNote Added: 0037695
2011-05-30 11:30hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt/rev/e503f1022b241533f671dc040c9fb09b13bbe2f8 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt.praxis/rev/e503f1022b241533f671dc040c9fb09b13bbe2f8 [^]
2011-05-30 11:30hgbotCheckin
2011-05-30 11:30hgbotNote Added: 0037696
2011-05-30 11:30hgbotCheckin
2011-05-30 11:30hgbotNote Added: 0037697
2011-05-30 11:31hgbotCheckin
2011-05-30 11:31hgbotNote Added: 0037698
2011-06-22 11:02psanjuanNote Added: 0038430
2011-06-22 11:02psanjuanStatusresolved => closed

Notes
(0036260)
hgbot   
2011-05-02 13:33   
Repository: erp/pmods/org.openbravo.advpaymentmngt
Changeset: e503f1022b241533f671dc040c9fb09b13bbe2f8
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Mon May 02 13:31:46 2011 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt/rev/e503f1022b241533f671dc040c9fb09b13bbe2f8 [^]

Fixed issue 16959.Payment monitor and customer credit don't updated if payment is awaiting execution.

---
M src-db/database/model/functions/APRM_GEN_PAYMENTSCHEDULE_INV.xml
M src/org/openbravo/advpaymentmngt/process/FIN_ExecutePayment.java
M src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
---
(0036337)
hgbot   
2011-05-03 18:43   
Repository: erp/pmods/org.openbravo.advpaymentmngt
Changeset: 967f475fa3bc6017920b8a7bd1bc4acb9be902a4
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Tue May 03 18:42:10 2011 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt/rev/967f475fa3bc6017920b8a7bd1bc4acb9be902a4 [^]

Related to issue 16959.Properly manage prepaid orders in awaiting execution status.

---
M src-db/database/model/functions/APRM_GEN_PAYMENTSCHEDULE_INV.xml
---
(0036338)
hgbot   
2011-05-03 18:58   
Repository: erp/pmods/org.openbravo.advpaymentmngt
Changeset: f704132101cf84dee6b969c9ca15f103a40c1668
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Tue May 03 18:55:46 2011 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt/rev/f704132101cf84dee6b969c9ca15f103a40c1668 [^]

Related to issue 16959.Replace AND by OR expressions when checking payment status.

---
M src/org/openbravo/advpaymentmngt/process/FIN_ExecutePayment.java
---
(0036345)
hgbot   
2011-05-04 09:41   
Repository: erp/mods/org.openbravo.module.remittance
Changeset: 85f447f711b17ff2286287f372e34c7583a18287
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Wed May 04 09:41:36 2011 +0200
URL: http://code.openbravo.com/erp/mods/org.openbravo.module.remittance/rev/85f447f711b17ff2286287f372e34c7583a18287 [^]

Changes in remittance affected by the resolution of issue16959.
The payment monitor and customer credit is updated when the paymen it executed

---
M src/org/openbravo/module/remittance/ad_forms/CancelReturnRemittance.java
M src/org/openbravo/module/remittance/executionprocess/InRemittance.java
M src/org/openbravo/module/remittance/process/REM_RemittanceProcess.java
---
(0036372)
hgbot   
2011-05-04 18:41   
Repository: erp/pmods/org.openbravo.advpaymentmngt
Changeset: 065c35c42ada9394cd059ba2b52088a1c256b99d
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Wed May 04 18:37:57 2011 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt/rev/065c35c42ada9394cd059ba2b52088a1c256b99d [^]

Related to issue 16959.Fix condition for paid statuses.

---
M src-db/database/model/functions/APRM_GEN_PAYMENTSCHEDULE_INV.xml
---
(0037695)
hgbot   
2011-05-30 11:30   
Repository: erp/pmods/org.openbravo.advpaymentmngt.praxis
Changeset: e503f1022b241533f671dc040c9fb09b13bbe2f8
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Mon May 02 13:31:46 2011 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt.praxis/rev/e503f1022b241533f671dc040c9fb09b13bbe2f8 [^]

Fixed issue 16959.Payment monitor and customer credit don't updated if payment is awaiting execution.

---
M src-db/database/model/functions/APRM_GEN_PAYMENTSCHEDULE_INV.xml
M src/org/openbravo/advpaymentmngt/process/FIN_ExecutePayment.java
M src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java
---
(0037696)
hgbot   
2011-05-30 11:30   
Repository: erp/pmods/org.openbravo.advpaymentmngt.praxis
Changeset: 967f475fa3bc6017920b8a7bd1bc4acb9be902a4
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Tue May 03 18:42:10 2011 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt.praxis/rev/967f475fa3bc6017920b8a7bd1bc4acb9be902a4 [^]

Related to issue 16959.Properly manage prepaid orders in awaiting execution status.

---
M src-db/database/model/functions/APRM_GEN_PAYMENTSCHEDULE_INV.xml
---
(0037697)
hgbot   
2011-05-30 11:30   
Repository: erp/pmods/org.openbravo.advpaymentmngt.praxis
Changeset: f704132101cf84dee6b969c9ca15f103a40c1668
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Tue May 03 18:55:46 2011 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt.praxis/rev/f704132101cf84dee6b969c9ca15f103a40c1668 [^]

Related to issue 16959.Replace AND by OR expressions when checking payment status.

---
M src/org/openbravo/advpaymentmngt/process/FIN_ExecutePayment.java
---
(0037698)
hgbot   
2011-05-30 11:31   
Repository: erp/pmods/org.openbravo.advpaymentmngt.praxis
Changeset: 065c35c42ada9394cd059ba2b52088a1c256b99d
Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com>
Date: Wed May 04 18:37:57 2011 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.advpaymentmngt.praxis/rev/065c35c42ada9394cd059ba2b52088a1c256b99d [^]

Related to issue 16959.Fix condition for paid statuses.

---
M src-db/database/model/functions/APRM_GEN_PAYMENTSCHEDULE_INV.xml
---
(0038430)
psanjuan   
2011-06-22 11:02   
fixed and working