Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0030185 | Openbravo ERP | Z. Others | public | 2015-06-15 18:54 | 2015-06-24 02:56 |
|
Reporter | ngarcia | |
Assigned To | aferraz | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | vmromanos |
OBNetwork customer | |
Web browser | |
Modules | Advanced Payables and Receivables Mngmt |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0030185: AlertsForWrongOrders modulescript is generating wrong alerts |
Description | AlertsForWrongOrders modulescript is generating wrong alerts. It is creating an alert for orders with payments in awaiting execution status |
Steps To Reproduce | As group admin role:
Create a Payment Method with automatic execution type
Add it to a Financial Account
Create a Purchase Order and add the previously created payment method
Add a payment to it
Check the Paid amount in the Sales Order Payment plan is 0 but the Paid Amount in the Payment Details tab is not 0
Compile the application (ant smartbuild -Dlocal=no) and restart Tomcat
Check a new alert has been created:
Wrong Purchase Order Payment Plan |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0030166 | 3.0PR15Q3 | closed | aferraz | Wrong order payment plan with isinvoicepaid feature |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2015-06-15 18:54 | ngarcia | New Issue | |
2015-06-15 18:54 | ngarcia | Assigned To | => Triage Finance |
2015-06-15 18:54 | ngarcia | Modules | => Advanced Payables and Receivables Mngmt |
2015-06-15 18:54 | ngarcia | Resolution time | => 1437948000 |
2015-06-15 18:54 | ngarcia | Triggers an Emergency Pack | => No |
2015-06-15 18:56 | ngarcia | Relationship added | related to 0030166 |
2015-06-15 19:12 | ngarcia | Issue Monitored: networkb | |
2015-06-15 19:13 | ngarcia | Note Added: 0078303 | |
2015-06-16 12:13 | aferraz | Assigned To | Triage Finance => aferraz |
2015-06-16 17:27 | aferraz | Status | new => scheduled |
2015-06-23 17:04 | hgbot | Checkin | |
2015-06-23 17:04 | hgbot | Note Added: 0078442 | |
2015-06-23 17:04 | hgbot | Status | scheduled => resolved |
2015-06-23 17:04 | hgbot | Resolution | open => fixed |
2015-06-23 17:04 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/c85e2fa57fa1c4bc0a4ae825e98fe82c075729c6 [^] |
2015-06-23 17:04 | vmromanos | Review Assigned To | => vmromanos |
2015-06-23 17:04 | vmromanos | Note Added: 0078443 | |
2015-06-23 17:04 | vmromanos | Status | resolved => closed |
2015-06-24 02:56 | hudsonbot | Checkin | |
2015-06-24 02:56 | hudsonbot | Note Added: 0078463 | |
Notes |
|
|
The same happens for payments in In Remittance (REM_SENT) status |
|
|
(0078442)
|
hgbot
|
2015-06-23 17:04
|
|
Repository: erp/devel/pi
Changeset: c85e2fa57fa1c4bc0a4ae825e98fe82c075729c6
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Wed Jun 17 19:17:55 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/c85e2fa57fa1c4bc0a4ae825e98fe82c075729c6 [^]
Fixes issue 30185: AlertsForWrongOrders modulescript generates wrong alerts
The query of the modulescript did not take into account the isinvoicepaid status (if the payment was paid or not) to check if the amount of the paymentschedule was correct.
---
M modules/org.openbravo.advpaymentmngt/build/classes/org/openbravo/advpaymentmngt/modulescript/AlertsForWrongOrdersData.class
M modules/org.openbravo.advpaymentmngt/src-util/modulescript/src/org/openbravo/advpaymentmngt/modulescript/AlertsForWrongOrders_data.xsql
M modules/org.openbravo.advpaymentmngt/src-util/modulescript/src/src/org/openbravo/advpaymentmngt/modulescript/AlertsForWrongOrdersData.java
---
|
|
|
|
Code review + testing OK
(verified also with remittance flows) |
|
|
|
|