Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0018491 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] Z. Others | major | always | 2011-09-09 15:01 | 2011-11-04 13:58 | |||
Reporter | mirurita | View Status | public | |||||
Assigned To | mirurita | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | pi | Fixed in SCM revision | d9618a03e3bb | |||
Projection | none | ETA | none | Target Version | 3.0MP5 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Advanced Payables and Receivables Mngmt | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0018491: A validation in payment process is not allowing to pay a negative invoice (invoicing totally an order) which has a discount | |||||||
Description | A 'validateAmount' method in payment process is failing when you try to pay an negative invoice with the following details: - Invoices totally a negative order - The invoice has a discount | |||||||
Steps To Reproduce | 1) Create a Sales Order 1.1) Lines - Product: Any - Quantity: -10 - Unit Price: 1€ 1.2) Complete. Total of the order: -10€ 2) Invoice totally previous order and add a discount of 10% 2.1) Complete the invoice. Total of the invoice will be 9€ after applying the discount. 3) Click on Add Payment Details button. When the pop-up is opened click on Process button. 4) Notice that the validation is failing. Error: Amount out of range: -10.00 cannot be used as outstanding amount is -9.00 | |||||||
Tags | No tags attached. | |||||||
Attached Files | Payment Process validation failure.png [^] (69,016 bytes) 2011-09-09 15:01
| |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0041925) xabiermerino (reporter) 2011-10-19 11:15 |
Other problem related: - Create an order with these lines: - Quantity: 50: price: 1 - Quantity: -10; price: 1 - Create an invoice and create the line with quantity positive using 'Copy Lines From' - Try to add a payment - An error appears because the amount of the invoice is bigger than the order's amount |
(0042405) hgbot (developer) 2011-10-31 12:24 |
Repository: erp/devel/pi Changeset: d9618a03e3bb568b56dd938c3694b11a5bd69c77 Author: Mikel Irurita <mikel.irurita <at> openbravo.com> Date: Mon Oct 31 12:20:52 2011 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/d9618a03e3bb568b56dd938c3694b11a5bd69c77 [^] Fixes issue 18491: validation in payment process is failing. Validation is failing under some circunstancies (see issue notes). The validation was preventing to pay more than expected in the payment plan (overpayments). But due to how payment schedule details are created (in extension point), temporary overpayments are allowed. In this case the validation was showing an error and it was not possible to process the payment. The only case in which the validation is adding value is when the payment plan info does not match with the payment schedule details. This can happen because of an issue. We already have alerts for checking this scenarios and the APRM payment monitor is able to fix incorrect payment plans. The validation has been removed --- M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java --- |
(0042513) maite (developer) 2011-11-03 18:57 |
verified |
(0042611) hudsonbot (developer) 2011-11-04 13:58 |
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/d10da320df2a [^] Maturity status: Test |
Issue History | |||
Date Modified | Username | Field | Change |
2011-09-09 15:01 | mirurita | New Issue | |
2011-09-09 15:01 | mirurita | Assigned To | => eduardo_Argal |
2011-09-09 15:01 | mirurita | File Added: Payment Process validation failure.png | |
2011-09-09 15:01 | mirurita | Modules | => Advanced Payables and Receivables Mngmt |
2011-09-15 12:52 | dalsasua | Assigned To | eduardo_Argal => mirurita |
2011-09-27 12:02 | mirurita | Target Version | 3.0MP4 => 3.0MP5 |
2011-10-19 11:15 | xabiermerino | Note Added: 0041925 | |
2011-10-19 11:20 | xabiermerino | Resolution time | => 1321830000 |
2011-10-31 11:52 | mirurita | Status | new => scheduled |
2011-10-31 11:52 | mirurita | fix_in_branch | => pi |
2011-10-31 12:24 | hgbot | Checkin | |
2011-10-31 12:24 | hgbot | Note Added: 0042405 | |
2011-10-31 12:24 | hgbot | Status | scheduled => resolved |
2011-10-31 12:24 | hgbot | Resolution | open => fixed |
2011-10-31 12:24 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/d9618a03e3bb568b56dd938c3694b11a5bd69c77 [^] |
2011-11-03 18:57 | maite | Note Added: 0042513 | |
2011-11-03 18:57 | maite | Status | resolved => closed |
2011-11-04 13:58 | hudsonbot | Checkin | |
2011-11-04 13:58 | hudsonbot | Note Added: 0042611 |
Copyright © 2000 - 2009 MantisBT Group |