Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0026995 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 03. Procurement management | critical | always | 2014-07-02 10:30 | 2014-08-08 18:52 | |||
Reporter | daniOpenbravo | View Status | public | |||||
Assigned To | Sandrahuguet | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 3.0PR14Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 7feca0cc80f3 | ||||
Projection | none | ETA | none | Target Version | 3.0PR14Q3 | |||
OS | Linux 64 bit | Database | PostgreSQL | Java version | 1.6 | |||
OS Version | 13.04 | Database version | 8.04 | Ant version | 1.7 | |||
Product Version | pi | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | umartirena | |||||||
OBNetwork customer | No | |||||||
Web browser | Google Chrome | |||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | Pre packaging ( pi ) | |||||||
Regression date | 2014-06-19 | |||||||
Regression introduced in release | pi | |||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi-aprm-windows/rev/45cdf404c7a6 [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0026995: Not able to process a payment out when "using credit" and total amount to pay is negative | |||||||
Description | Error "Not all the available amount has been allocated." appears when "using credit" and total amount to pay is negative. | |||||||
Steps To Reproduce | 1. Register Payment Out for "Bebidas Alegres" and set "Generate Credit" =50. Process payment 2. Register Purchase Invoice for "Bebidas Alegres", add any line and set unit price=60. Process invoice and DO NOT use credit to pay it 3. Register other Purchase Invoice for "Bebidas Alegres", add any line and set negative price=-100. Process invoice 4. Register Payment Out for "Bebidas Alegres" and "Add details". Select option "use available credit" and also select previous invoices (positive and negative one). Process payment and verify that error "Not all the available amount has been allocated." is shown. | |||||||
Proposed Solution | Check the validation: if (actualPayment.compareTo(total) > 0 && totalOustandingAmount.compareTo(amountInvOrds.add(totalWriteOffAmount)) > 0) {...} on line 778 (ob-aprm-addPayment.js). | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0068501) hgbot (developer) 2014-07-02 11:25 |
Repository: erp/devel/pi Changeset: 7feca0cc80f3912765faf46526c81be759ade975 Author: Sandra Huguet <sandra.huguet <at> openbravo.com> Date: Wed Jul 02 11:24:49 2014 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/7feca0cc80f3912765faf46526c81be759ade975 [^] Fixes bug 26995 oustandingAmount is wrong calculated in done validation --- M modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-addPayment.js --- |
(0068502) umartirena (viewer) 2014-07-02 11:31 |
Tested and verified |
(0069128) hudsonbot (viewer) 2014-08-08 18:52 |
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/4450016dee64 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2014-07-02 10:30 | daniOpenbravo | New Issue | |
2014-07-02 10:30 | daniOpenbravo | Assigned To | => Sandrahuguet |
2014-07-02 10:30 | daniOpenbravo | OBNetwork customer | => No |
2014-07-02 10:30 | daniOpenbravo | Web browser | => Google Chrome |
2014-07-02 10:30 | daniOpenbravo | Modules | => Core |
2014-07-02 10:30 | daniOpenbravo | Triggers an Emergency Pack | => No |
2014-07-02 11:22 | Sandrahuguet | Web browser | Google Chrome => Google Chrome |
2014-07-02 11:22 | Sandrahuguet | Regression level | => Pre packaging ( pi ) |
2014-07-02 11:22 | Sandrahuguet | Regression date | => 2014-06-19 |
2014-07-02 11:22 | Sandrahuguet | Regression introduced in release | => pi |
2014-07-02 11:22 | Sandrahuguet | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi-aprm-windows/rev/45cdf404c7a6 [^] |
2014-07-02 11:25 | hgbot | Checkin | |
2014-07-02 11:25 | hgbot | Note Added: 0068501 | |
2014-07-02 11:25 | hgbot | Status | new => resolved |
2014-07-02 11:25 | hgbot | Resolution | open => fixed |
2014-07-02 11:25 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/7feca0cc80f3912765faf46526c81be759ade975 [^] |
2014-07-02 11:31 | umartirena | Review Assigned To | => umartirena |
2014-07-02 11:31 | umartirena | Note Added: 0068502 | |
2014-07-02 11:31 | umartirena | Status | resolved => closed |
2014-07-02 11:31 | umartirena | Fixed in Version | => PR14Q3 |
2014-08-08 18:52 | hudsonbot | Checkin | |
2014-08-08 18:52 | hudsonbot | Note Added: 0069128 |
Copyright © 2000 - 2009 MantisBT Group |