Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0020275 | Openbravo ERP | 09. Financial management | public | 2012-04-16 13:50 | 2012-04-21 14:24 |
|
Reporter | maite | |
Assigned To | eduardo_Argal | |
Priority | immediate | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0MP11 | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
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 | 0020275: Not possible to Post payment which uses credit and has total amount zero |
Description | Not possible to Post payment which uses credit and has total amount zero |
Steps To Reproduce | 1. Create Payment Out for any BP. Generate Credit=500. Process
2. Create Purchase Invoice for same BP. Add any line with total invoice amount=500. Process. Use previous Generated Credit to pay this invoice. Process.
3. Go to Created Payment which has Amount=0 and Used Credit=500 and try to post. You will obtain error message.
Payment with amount=0 should be posted although associated PM is not configured to allow payment's accounting |
Proposed Solution | attached diff solves the problem |
Additional Information | |
Tags | Regression |
Relationships | related to | design defect | 0018818 | | closed | eduardo_Argal | Modules | The error message is not clear when you want to post one reconciliation | related to | defect | 0019363 | pi | closed | eduardo_Argal | Openbravo ERP | Credit consumption accounting is wrong with multicurrency |
|
Attached Files | issuePostPaymentZeroAmount.patch (1,400) 2012-04-16 13:51 https://issues.openbravo.com/file_download.php?file_id=5134&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2012-04-16 13:50 | maite | New Issue | |
2012-04-16 13:50 | maite | Assigned To | => vmromanos |
2012-04-16 13:50 | maite | Modules | => Advanced Payables and Receivables Mngmt |
2012-04-16 13:50 | maite | Assigned To | vmromanos => jonalegriaesarte |
2012-04-16 13:51 | maite | Tag Attached: Regression | |
2012-04-16 13:51 | maite | Issue Monitored: networkb | |
2012-04-16 13:51 | maite | File Added: issuePostPaymentZeroAmount.patch | |
2012-04-16 14:01 | maite | Target Version | => 3.0MP11 |
2012-04-16 16:32 | jonalegriaesarte | Relationship added | related to 0018818 |
2012-04-16 16:33 | jonalegriaesarte | Relationship added | related to 0019363 |
2012-04-16 17:34 | shuehner | Issue Monitored: shuehner | |
2012-04-17 11:10 | eduardo_Argal | Assigned To | jonalegriaesarte => eduardo_Argal |
2012-04-17 11:10 | eduardo_Argal | Status | new => scheduled |
2012-04-17 11:10 | eduardo_Argal | fix_in_branch | => pi |
2012-04-17 19:35 | hgbot | Checkin | |
2012-04-17 19:35 | hgbot | Note Added: 0047682 | |
2012-04-17 19:35 | hgbot | Status | scheduled => resolved |
2012-04-17 19:35 | hgbot | Resolution | open => fixed |
2012-04-17 19:35 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/a673138d34c7f985528e3f4be5f4555d3fa2b13f [^] |
2012-04-18 12:51 | mirurita | Note Added: 0047693 | |
2012-04-18 12:51 | mirurita | Status | resolved => closed |
2012-04-18 13:29 | hgbot | Checkin | |
2012-04-18 13:29 | hgbot | Note Added: 0047696 | |
2012-04-21 14:24 | hudsonbot | Checkin | |
2012-04-21 14:24 | hudsonbot | Note Added: 0047826 | |
2012-04-21 14:24 | hudsonbot | Checkin | |
2012-04-21 14:24 | hudsonbot | Note Added: 0047829 | |
Notes |
|
(0047682)
|
hgbot
|
2012-04-17 19:35
|
|
Repository: erp/devel/pi
Changeset: a673138d34c7f985528e3f4be5f4555d3fa2b13f
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Tue Apr 17 19:34:56 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/a673138d34c7f985528e3f4be5f4555d3fa2b13f [^]
Fixes bug 20275
---
M src/org/openbravo/erpCommon/ad_forms/DocFINPayment.java
A src-util/modulescript/build/classes/org/openbravo/modulescript/PaymentZeroAmount.class
A src-util/modulescript/build/classes/org/openbravo/modulescript/PaymentZeroAmountData.class
A src-util/modulescript/src/org/openbravo/modulescript/PaymentZeroAmount.java
A src-util/modulescript/src/org/openbravo/modulescript/PaymentZeroAmount_data.xsql
---
|
|
|
(0047693)
|
mirurita
|
2012-04-18 12:51
|
|
Testing Plan:
Before applying this fix:
1. Create Payment Out for any BP. Generate Credit=500. Process
2. Create Purchase Invoice for same BP. Add any line with total invoice amount=500. Process. Use previous Generated Credit to pay this invoice. Process.
3. Go to Created Payment which has Amount=0 and Used Credit=500 and try to post. You will obtain error message.
4. Create Payment In for any BP. Generate Credit=200. Process
5. Create Sales Invoice for same BP. Add any line with total invoice amount=200. Process. Use previous Generated Credit to pay this invoice. Process.
6. Go to Created Payment which has Amount=0 and Used Credit=200 and try to post. You will obtain error message.
7. Apply the fix
8. Run ant smartbuild -Dlocal=no
9. Go to payments created in step 3) and 6) and they should appear unposted. If you run the posting process manually you should be able to post them successfully. |
|
|
(0047696)
|
hgbot
|
2012-04-18 13:29
|
|
|
|
|
|
|
|
|