Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0032916 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] 07. Sales management | major | always | 2016-05-10 12:59 | 2016-05-23 13:59 | |||
Reporter | psanjuan | View Status | public | |||||
Assigned To | aferraz | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | 4d626559c588 | ||||
Projection | none | ETA | none | Target Version | 3.0PR16Q2 | |||
OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6.0_18 | |||
OS Version | Professional Appliance | Database version | 8.3.9 | Ant version | 1.7.1 | |||
Product Version | SCM revision | |||||||
Review Assigned To | vmromanos | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | Packaging and release | |||||||
Regression date | 2016-01-13 | |||||||
Regression introduced in release | main | |||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/cac91026199d [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0032916: Wrong payment status as well payment in details when partially paying a Reversed Sales Invoice | |||||||
Description | Wrong payment status as well payment details when partially paying a Reversed Sales Invoice | |||||||
Steps To Reproduce | - Go to Sales Invoice window. Create a new one for F&B España, Alimentos BP. - Change document type to "Reversed Sales Invoice". - Save it - Go to lines and create a new one. ** Product = Agua sin Gas 1 ** Invoiced Quantity = -500 - Complete it. (If there is any credit available, do NOT use it). - Press Add Payment. - Change Actual Payment amount to -500.00 - Make sure only the reversed sales invoice just created is selected. Change its amount from -925.65 to -500.00 (see Issue 32914_Image 1). - Press Done - Realize that Payment Complete status of the invoice has turned into Yes (which is not correct). - Go to Payment Plan tab and check neither received amount, outstanding amount are correct. - Navigate to the payment in created and realize that not only the total reversed sales invoice amount has been paid, but also some credit amount has been generated. (see Issue32914_Image2) Take note that same error is happening in purchase. | |||||||
Proposed Solution | Payment Complete status should not turn into Yes because the reverse sales invoice has been partially paid. Payment Plan should be updated properly Payment In created should be the correct one base on actual payment entered. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0086651) hgbot (developer) 2016-05-23 13:43 |
Repository: erp/backports/3.0PR16Q2 Changeset: 4d626559c58861630878ffafd67e9b0380166625 Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com> Date: Thu May 19 15:15:02 2016 +0200 URL: http://code.openbravo.com/erp/backports/3.0PR16Q2/rev/4d626559c58861630878ffafd67e9b0380166625 [^] Fixes issue 32916: Fix properly issue 31457 Change getOrderedPaymentScheduleDetails method in AddPaymentActionHandler class to order by absolute value of FIN_PaymentScheduleDetail.PROPERTY_AMOUNT property. Change also the manage negative amounts check to recalculate remainingAmount if it is lower than outstandingAmount in case remainingAmount is negative. --- M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/actionHandler/AddPaymentActionHandler.java --- |
(0086652) hgbot (developer) 2016-05-23 13:43 |
Repository: erp/backports/3.0PR16Q2 Changeset: d74e284a07d013ae4bea15ac44578a4285a503c6 Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com> Date: Mon May 23 13:43:19 2016 +0200 URL: http://code.openbravo.com/erp/backports/3.0PR16Q2/rev/d74e284a07d013ae4bea15ac44578a4285a503c6 [^] Related to issue 32916: Update copyright year --- M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/actionHandler/AddPaymentActionHandler.java --- |
(0086655) vmromanos (manager) 2016-05-23 13:44 |
Code review OK |
Issue History | |||
Date Modified | Username | Field | Change |
2016-05-10 14:19 | aferraz | Type | defect => backport |
2016-05-10 14:19 | aferraz | Target Version | => 3.0PR16Q2 |
2016-05-10 14:19 | aferraz | Assigned To | Triage Finance => AtulOpenbravo |
2016-05-23 10:07 | aferraz | Assigned To | AtulOpenbravo => aferraz |
2016-05-23 13:43 | hgbot | Checkin | |
2016-05-23 13:43 | hgbot | Note Added: 0086651 | |
2016-05-23 13:43 | hgbot | Status | scheduled => resolved |
2016-05-23 13:43 | hgbot | Resolution | open => fixed |
2016-05-23 13:43 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/backports/3.0PR16Q2/rev/4d626559c58861630878ffafd67e9b0380166625 [^] |
2016-05-23 13:43 | hgbot | Checkin | |
2016-05-23 13:43 | hgbot | Note Added: 0086652 | |
2016-05-23 13:44 | vmromanos | Review Assigned To | => vmromanos |
2016-05-23 13:44 | vmromanos | Note Added: 0086655 | |
2016-05-23 13:44 | vmromanos | Status | resolved => closed |
2016-05-23 13:59 | vmromanos | Severity | critical => major |
Copyright © 2000 - 2009 MantisBT Group |