Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0020994 | Openbravo ERP | 09. Financial management | public | 2012-07-10 16:55 | 2012-07-10 17:55 |
Reporter | mirurita | ||||
Assigned To | ioritzCia | ||||
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 20 | OS Version | Community Appliance | |
Product Version | pi | ||||
Target Version | Fixed in Version | 3.0MP13 | |||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | No | ||||
Web browser | |||||
Modules | Advanced Payables and Receivables Mngmt | ||||
Support ticket | |||||
Regression level | Pre packaging ( pi ) | ||||
Regression date | 2012-06-27 | ||||
Regression introduced in release | |||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/3b4adfb72e90 [^] | ||||
Triggers an Emergency Pack | No | ||||
Summary | 0020994: Add Details (Payment in/out): difference options are not properly calculated | ||||
Description | If you have more than one record in the grid the difference options are not properly displayed. Note: if you use the "select all" checkbox the difference options work. For each record in the grid the updateReadOnly (FIN_Utilities.js) method is called. expectedAmount = frm.inpExpectedPayment.value; frm.inpExpectedPayment.value at this point is "" (empty string). Before, at this point, updateAll method was previously called and it was calculating the expected payment. and after this statement it takes "NaN.00" value frm.inpExpectedPayment.value = subtract(expectedAmount, recordAmount); (see attached screenshot) for difference options the expected payment value is used. As it has an invalid value the difference options calculation does not work. | ||||
Steps To Reproduce | 1) Create two sales invoices for Healthy Food Supermarkets, Co. - SI1: 2.04$ - SI2: 1.34$ 2) Create a new Payment In - Business Partner: Healthy Food Supermarkets, Co. 3) Click on Add Details button 4) The option displayed in the bottom is: "Write off the difference" 5) Enter 3 in Actual Payment In. The amount is properly distributed. 6) Realize that the option has not changed, the only available option is "Write off the difference". This is wrong. 7) At this point if you try to modify the amounts in the grid manually the options are not properly recalculated | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=5389&type=bug ![]() https://issues.openbravo.com/file_download.php?file_id=5390&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-07-10 16:55 | mirurita | New Issue | |||
2012-07-10 16:55 | mirurita | Assigned To | => ioritzCia | ||
2012-07-10 16:55 | mirurita | Modules | => Advanced Payables and Receivables Mngmt | ||
2012-07-10 16:55 | mirurita | OBNetwork customer | => No | ||
2012-07-10 16:56 | mirurita | File Added: Difference options.png | |||
2012-07-10 16:56 | mirurita | File Added: ExpectedAmount.png | |||
2012-07-10 16:57 | mirurita | Regression level | => Pre packaging ( pi ) | ||
2012-07-10 16:57 | mirurita | Regression date | => 2012-06-27 | ||
2012-07-10 16:57 | mirurita | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/3b4adfb72e90 [^] | ||
2012-07-10 17:01 | mirurita | Description Updated | bug_revision_view_page.php?rev_id=3615#r3615 | ||
2012-07-10 17:51 | hgbot | Checkin | |||
2012-07-10 17:51 | hgbot | Note Added: 0050464 | |||
2012-07-10 17:51 | hgbot | Status | new => resolved | ||
2012-07-10 17:51 | hgbot | Resolution | open => fixed | ||
2012-07-10 17:51 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/bd214e6331389d964a7cf6b72ce834718c219ed3 [^] | ||
2012-07-10 17:55 | mirurita | Note Added: 0050465 | |||
2012-07-10 17:55 | mirurita | Status | resolved => closed | ||
2012-07-10 17:55 | mirurita | Fixed in Version | => 3.0MP13 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|