Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0033813 | Openbravo ERP | Z. Others | public | 2016-08-25 14:52 | 2016-09-13 15:41 |
|
Reporter | maite | |
Assigned To | AtulOpenbravo | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0PR16Q4 | Fixed in Version | 3.0PR16Q4 | |
Merge Request Status | |
Review Assigned To | aferraz |
OBNetwork customer | OBPS |
Web browser | |
Modules | Advanced Payables and Receivables Mngmt |
Support ticket | 43381 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0033813: Wrong payment date when voiding an unpaid invoice |
Description | Payment's date should be reversed invoice's date instead of original invoice's date |
Steps To Reproduce | 1. Access Sales Invoice window, filter by Paid=No and select any invoice. Run VOID process
2. Access Payment Plan tab and navigate to created payment
3. Realize that payment in document has been created using original invoice's date instead of reversed invoice's date
NOTE: if you post this payment, prepayment account will be used when it does not make sense |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | caused by | defect | 0030971 | 3.0PR16Q1 | closed | aferraz | When voiding an unpaid invoice, payment schedule details should be canceled instead of deleted |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2016-08-25 14:52 | maite | New Issue | |
2016-08-25 14:52 | maite | Assigned To | => Triage Finance |
2016-08-25 14:52 | maite | OBNetwork customer | => Yes |
2016-08-25 14:52 | maite | Modules | => Advanced Payables and Receivables Mngmt |
2016-08-25 14:52 | maite | Support ticket | => 43381 |
2016-08-25 14:52 | maite | Resolution time | => 1473804000 |
2016-08-25 14:52 | maite | Triggers an Emergency Pack | => No |
2016-08-25 14:53 | maite | Issue Monitored: networkb | |
2016-08-25 14:53 | maite | Assigned To | Triage Finance => maite |
2016-08-25 14:53 | maite | Relationship added | caused by 0030971 |
2016-08-25 14:53 | maite | Assigned To | maite => Triage Finance |
2016-08-25 15:22 | aferraz | Assigned To | Triage Finance => AtulOpenbravo |
2016-08-26 08:32 | ngarcia | Note Added: 0089427 | |
2016-08-26 08:33 | ngarcia | Note Edited: 0089427 | bug_revision_view_page.php?bugnote_id=0089427#r12906 |
2016-08-26 08:36 | ngarcia | Note Deleted: 0089427 | |
2016-08-26 09:01 | ngarcia | Issue Monitored: ngarcia | |
2016-09-09 05:21 | AtulOpenbravo | Status | new => scheduled |
2016-09-12 06:17 | AtulOpenbravo | Note Added: 0089888 | |
2016-09-13 10:45 | hgbot | Checkin | |
2016-09-13 10:45 | hgbot | Note Added: 0089909 | |
2016-09-13 10:45 | hgbot | Status | scheduled => resolved |
2016-09-13 10:45 | hgbot | Resolution | open => fixed |
2016-09-13 10:45 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/6669151c52480375aca29d7ea08340477ce468ae [^] |
2016-09-13 10:47 | aferraz | Review Assigned To | => aferraz |
2016-09-13 10:47 | aferraz | Note Added: 0089910 | |
2016-09-13 10:47 | aferraz | Status | resolved => closed |
2016-09-13 10:47 | aferraz | Fixed in Version | => 3.0PR16Q4 |
2016-09-13 15:41 | hudsonbot | Checkin | |
2016-09-13 15:41 | hudsonbot | Note Added: 0089920 | |
Notes |
|
|
Test Plan
- Access Sales Invoice window, filter by Paid=No and select any invoice. Run VOID process.
- Access Payment Plan tab and navigate to created payment.
- Realize that payment in document has been created using original reversed invoice's date instead of invoice's date.
- Check posting of this payment, prepayment account is not used. |
|
|
(0089909)
|
hgbot
|
2016-09-13 10:45
|
|
Repository: erp/devel/pi
Changeset: 6669151c52480375aca29d7ea08340477ce468ae
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Fri Sep 09 14:11:17 2016 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/6669151c52480375aca29d7ea08340477ce468ae [^]
Fixes issue 33813: Wrong payment date when voiding an unpaid invoice
If voidDate is not null (Purchase Invoice), voidDate, which is the reversed invoice's date, will be taken as dummy payment's date.
If voidDate is null (Sales Invoice), new Date(), which is the reversed invoice's date, will be taken as dummy payment's date instead of invoice.getInvoiceDate(), which was the original invoice's date.
---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/ProcessInvoice.java
---
|
|
|
|
|
|
|
|