Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0033813
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Z. Othersmajoralways2016-08-25 14:522016-09-13 15:41
ReportermaiteView Statuspublic 
Assigned ToAtulOpenbravo 
PriorityurgentResolutionfixedFixed in Version3.0PR16Q4
StatusclosedFix in branchFixed in SCM revision6669151c5248
ProjectionnoneETAnoneTarget Version3.0PR16Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toaferraz
Web browser
ModulesAdvanced Payables and Receivables Mngmt
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0033813: Wrong payment date when voiding an unpaid invoice

DescriptionPayment's date should be reversed invoice's date instead of original invoice's date
Steps To Reproduce1. 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
caused by defect 00309713.0PR16Q1 closedaferraz When voiding an unpaid invoice, payment schedule details should be canceled instead of deleted 

-  Notes
(0089888)
AtulOpenbravo (developer)
2016-09-12 06:17

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 (developer)
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
---
(0089910)
aferraz (manager)
2016-09-13 10:47

Code review + Testing OK
(0089920)
hudsonbot (developer)
2016-09-13 15:41

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/107ac99e99f3 [^]
Maturity status: Test

- 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 Modules => Advanced Payables and Receivables Mngmt
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 View Revisions
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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker