Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0026995 | Openbravo ERP | 03. Procurement management | public | 2014-07-02 10:30 | 2014-08-08 18:52 |
|
Reporter | daniOpenbravo | |
Assigned To | Sandrahuguet | |
Priority | immediate | Severity | critical | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 30 | OS Version | 13.04 |
Product Version | pi | |
Target Version | 3.0PR14Q3 | Fixed in Version | 3.0PR14Q3 | |
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). |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
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 | |