Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0026649 | Openbravo ERP | Z. Others | public | 2014-05-21 16:24 | 2014-08-08 18:52 |
|
Reporter | maite | |
Assigned To | pramakrishnan | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0PR14Q4 | Fixed in Version | 3.0PR14Q4 | |
Merge Request Status | |
Review Assigned To | daniOpenbravo |
OBNetwork customer | |
Web browser | |
Modules | Advanced Payables and Receivables Mngmt |
Support ticket | |
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 |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0035054 | | closed | AtulOpenbravo | It is not possible to pay a negative purchase invoice using credit and selecting "Refund amount to customer" |
|
Attached Files | |
|
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 |
Notes |
|
(0067339)
|
maite
|
2014-05-21 16:25
|
|
modulescript required to fix erroneous data |
|
|
(0068532)
|
hgbot
|
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
---
|
|
|
|
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. |
|
|
|
|
|
|
|