Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0026649 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] Z. Others | major | always | 2014-05-21 16:24 | 2014-08-08 18:52 | |||
Reporter | maite | View Status | public | |||||
Assigned To | pramakrishnan | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 3.0PR14Q4 | |||
Status | closed | Fix in branch | Fixed in SCM revision | cf89ea93bdfc | ||||
Projection | none | ETA | none | Target Version | 3.0PR14Q4 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | daniOpenbravo | |||||||
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 | 0026649: Wrong payment details when "using credit" but total amount to pay is negative | |||||||
Description | Wrong payment details when "using credit" but 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 details are not correct and that credit has not really been used | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0067339) maite (developer) 2014-05-21 16:25 |
modulescript required to fix erroneous data |
(0068532) hgbot (developer) 2014-07-03 18:35 |
Repository: erp/devel/pi Changeset: cf89ea93bdfc35190ab1982be4e7e01bebbe19f9 Author: Daniel Ruiz <daniel.ruiz <at> openbravo.com> Date: Thu Jul 03 18:33:48 2014 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/cf89ea93bdfc35190ab1982be4e7e01bebbe19f9 [^] Fixes Issue 26649:Wrong payment details when using credit but total amount to pay is negative --- M modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MESSAGE.xml M modules/org.openbravo.advpaymentmngt/web/org.openbravo.advpaymentmngt/js/ob-aprm-addPayment.js --- |
(0068533) daniOpenbravo (developer) 2014-07-03 18:38 |
Finally there is no bug. Used Credit is 0 as it is not necessary to use that credit because there is no amount to be paid (60 - 100= -40, so there is nothing to pay but credit is going to be generated). Amount of 40 is left as credit. Amount of the payment is 0 as a result of Total Amount of purchase invoices plus generated credit. We have added a message in order to be shown when using credit is not necessary. |
(0068534) daniOpenbravo (developer) 2014-07-03 18:47 |
Verified. Added note. |
(0069134) hudsonbot (developer) 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 |
Issue History | |||
Date Modified | Username | Field | Change |
2014-05-21 16:24 | maite | New Issue | |
2014-05-21 16:24 | maite | Assigned To | => dmiguelez |
2014-05-21 16:24 | maite | Modules | => Advanced Payables and Receivables Mngmt |
2014-05-21 16:24 | maite | Triggers an Emergency Pack | => No |
2014-05-21 16:25 | maite | Resolution time | => 1403820000 |
2014-05-21 16:25 | maite | Note Added: 0067339 | |
2014-05-21 16:25 | maite | Assigned To | dmiguelez => pramakrishnan |
2014-06-30 12:35 | eduardo_Argal | Target Version | PR14Q3 => PR14Q4 |
2014-07-03 18:35 | hgbot | Checkin | |
2014-07-03 18:35 | hgbot | Note Added: 0068532 | |
2014-07-03 18:35 | hgbot | Status | new => resolved |
2014-07-03 18:35 | hgbot | Resolution | open => fixed |
2014-07-03 18:35 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/cf89ea93bdfc35190ab1982be4e7e01bebbe19f9 [^] |
2014-07-03 18:38 | daniOpenbravo | Note Added: 0068533 | |
2014-07-03 18:47 | daniOpenbravo | Review Assigned To | => daniOpenbravo |
2014-07-03 18:47 | daniOpenbravo | Note Added: 0068534 | |
2014-07-03 18:47 | daniOpenbravo | Status | resolved => closed |
2014-07-03 18:48 | daniOpenbravo | Fixed in Version | => PR14Q4 |
2014-08-08 18:52 | hudsonbot | Checkin | |
2014-08-08 18:52 | hudsonbot | Note Added: 0069134 | |
2017-03-29 13:51 | aferraz | Relationship added | related to 0035054 |
Copyright © 2000 - 2009 MantisBT Group |