Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0029848 | Openbravo ERP | Z. Others | public | 2015-05-12 11:18 | 2015-06-18 18:32 |
|
Reporter | ngarcia | |
Assigned To | AtulOpenbravo | |
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 | OBPS |
Web browser | |
Modules | Advanced Payables and Receivables Mngmt |
Support ticket | 36143 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0029848: Credit can be used although the payment were it was generated is not in the configured invoice paid status |
Description | Credit can be used although the payment were it was generated is not in the configured invoice paid status |
Steps To Reproduce | As group admin role:
Enable the 'Allow to use invoice paid status control' preference
Log out and log in again
Create a new a payment method and configure it in the financial account as:
Automatic Deposit: N
Invoice Paid Status: Deposited Not Cleared
Create two Payment In for a Business Partner with that Payment Method where credit is generated
Create a Sales Invoice for that Business Partner
Check the Credit is not available to pay the invoice
Add a Transaction in the Financial Account for one of the payments and process it
Check its status changes to Deposited Not Cleared
Add a Payment to the previously created invoice and check both credits are available now although one of the payment has still Payment Received status |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2015-05-12 11:18 | ngarcia | New Issue | |
2015-05-12 11:18 | ngarcia | Assigned To | => Triage Finance |
2015-05-12 11:18 | ngarcia | OBNetwork customer | => Yes |
2015-05-12 11:18 | ngarcia | Modules | => Advanced Payables and Receivables Mngmt |
2015-05-12 11:18 | ngarcia | Support ticket | => 36143 |
2015-05-12 11:18 | ngarcia | Resolution time | => 1434319200 |
2015-05-12 11:18 | ngarcia | Triggers an Emergency Pack | => No |
2015-05-12 11:20 | ngarcia | Issue Monitored: networkb | |
2015-05-14 09:02 | AtulOpenbravo | Assigned To | Triage Finance => AtulOpenbravo |
2015-05-15 12:28 | AtulOpenbravo | Status | new => scheduled |
2015-06-09 20:07 | AtulOpenbravo | Note Added: 0078166 | |
2015-06-09 20:21 | AtulOpenbravo | Note Edited: 0078166 | bug_revision_view_page.php?bugnote_id=0078166#r8790 |
2015-06-16 17:47 | hgbot | Checkin | |
2015-06-16 17:47 | hgbot | Note Added: 0078324 | |
2015-06-16 17:47 | hgbot | Status | scheduled => resolved |
2015-06-16 17:47 | hgbot | Resolution | open => fixed |
2015-06-16 17:47 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/2e7f7c565c1c79427cebe5e68d921ec538b66074 [^] |
2015-06-16 17:47 | hgbot | Checkin | |
2015-06-16 17:47 | hgbot | Note Added: 0078325 | |
2015-06-16 17:55 | vmromanos | Review Assigned To | => vmromanos |
2015-06-16 17:55 | vmromanos | Note Added: 0078326 | |
2015-06-16 17:55 | vmromanos | Status | resolved => closed |
2015-06-18 18:32 | hudsonbot | Checkin | |
2015-06-18 18:32 | hudsonbot | Note Added: 0078377 | |
2015-06-18 18:32 | hudsonbot | Checkin | |
2015-06-18 18:32 | hudsonbot | Note Added: 0078378 | |
Notes |
|
(0078166)
|
AtulOpenbravo
|
2015-06-09 20:07
(edited on: 2015-06-09 20:21) |
|
Test Plan
- Login as Group Admin role.
- Enable the 'Allow to use invoice paid status control' preference.
- Log out and log in again.
- Create a new a payment method and configure it in the financial account as:
Automatic Deposit: N
Invoice Paid Status: Deposited Not Cleared
- Create two Payment In for a Business Partner with that Payment Method where credit is generated.
- Create a Sales Invoice for that Business Partner.
- Check the Credit is not available to pay the invoice.
- Add a Transaction in the Financial Account for one of the payments and process it. Check its status changes to Deposited Not Cleared.
- Add a Payment to the previously created invoice and check credit with status "Deposited Not Cleared" is available and other with status "Payment Received" is not available.
|
|
|
(0078324)
|
hgbot
|
2015-06-16 17:47
|
|
Repository: erp/devel/pi
Changeset: 2e7f7c565c1c79427cebe5e68d921ec538b66074
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Sun Jun 14 22:35:37 2015 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/2e7f7c565c1c79427cebe5e68d921ec538b66074 [^]
Fixes Issue 29848:Credit can be used although the payment were it was
generated is not in the configured invoice paid status
Implement FIN_Utility.invoicePaymentStatus and aprm_seqnumberpaymentstatus
in CreditToUseTransformer where clause.
---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/hqlinjections/CreditToUseTransformer.java
A modules/org.openbravo.advpaymentmngt/src-db/database/model/functions/APRM_SEQNOINVPAIDSTATUS.xml
---
|
|
|
(0078325)
|
hgbot
|
2015-06-16 17:47
|
|
Repository: erp/devel/pi
Changeset: 8b04107e4667fe2a0d39c5d2de88b3a1cc9d83d6
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Tue Jun 16 17:43:17 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/8b04107e4667fe2a0d39c5d2de88b3a1cc9d83d6 [^]
Related to issue 29848: code review improvements
Fixed v_invoicepaidstatus variable type
Moved query code from the HqlQueryTransformer to the Application Dictionary
---
M modules/org.openbravo.advpaymentmngt/src-db/database/model/functions/APRM_SEQNOINVPAIDSTATUS.xml
M modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_TABLE.xml
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/hqlinjections/CreditToUseTransformer.java
---
|
|
|
|
|
|
|
|
|
|
|