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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031699
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementmajoralways2015-12-14 10:242015-12-15 23:49
ReportervmromanosView Statuspublic 
Assigned Tovmromanos 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision45c7d09e8fd0
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Topsanjuan
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0031699: Payments after manual cash vat settlement

DescriptionWhen an invoice is paid after a manual cash VAT settlement has taken place, the system shouldn't add a "Cash VAT" record in Invoice | Tax | Cash VAT tab, because the cash vat amount has been already settled in the Manual Cash VAT Settlement.

This flow is not controlled right now, and the system wrongly creates a new record each time a new payment is registered to a settled invoice
Steps To ReproduceAs Group Admin:
1. Create a Cash VAT Sales Invoice with any line and process it. Do not pay it.
2. Create a new Manual Cash VAT Settlement for a date range that covers the previous invoice. Process it.
Verify a new Cash VAT record at Sales Invoice window has been created for the 100% (that's OK)
3. Now add a new payment for this invoice. Verify a new "Cash VAT" record has been automatically created. This is wrong: the system shouldn't create a new record because the cash vat has been already settled in the Manual Cash VAT Settlement document.
TagsNo tags attached.
Attached Filesdiff file icon 31699.diff [^] (2,794 bytes) 2015-12-14 11:19 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to feature request 0028557 closedvmromanos Modules New process/management needed to settle unpaid VAT at a given date. 

-  Notes
(0082699)
vmromanos (manager)
2015-12-14 11:17

Test plan I:
As Group Admin:
1. Create a Cash VAT Sales Invoice with any line and process it. Do not pay it.
2. Create a new Manual Cash VAT Settlement for a date range that covers the previous invoice. Process it.
Verify a new Cash VAT record at Sales Invoice window has been created for the 100% (that's OK)
3. Now add a new partial payment for this invoice.
Verify no new Cash VAT record has been created

Test plan II:
As Group Admin:
1. Create a Cash VAT Sales Invoice with any line and process it. Do not pay it.
2. Create a new Manual Cash VAT Settlement for a date range that covers the previous invoice. Process it.
Verify a new Cash VAT record at Sales Invoice window has been created for the 100% (that's OK)
3. Now fully pay this invoice.
Verify no new Cash VAT record has been created
(0082724)
psanjuan (manager)
2015-12-14 14:38

Test Plan above verified. See also Test Link under the folder "Manual Cash VAT Settlement".
(0082726)
hgbot (developer)
2015-12-14 15:38

Repository: erp/devel/pi
Changeset: 45c7d09e8fd077d8cbb909e28d60ff9568a4542e
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Mon Dec 14 11:14:22 2015 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/45c7d09e8fd077d8cbb909e28d60ff9568a4542e [^]

Fixed bug 31699: Payments after manual cash vat settlement

When an invoice has been already included in a Manual Cash VAT Settlement, the system won't create new Cash VAT management records when partially/fully paying the invoice.

---
M src/org/openbravo/erpCommon/utility/CashVATUtil.java
---
(0082790)
hudsonbot (developer)
2015-12-15 23:49

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

- Issue History
Date Modified Username Field Change
2015-12-14 10:24 vmromanos New Issue
2015-12-14 10:24 vmromanos Assigned To => vmromanos
2015-12-14 10:24 vmromanos Modules => Core
2015-12-14 10:24 vmromanos Triggers an Emergency Pack => No
2015-12-14 10:24 vmromanos Relationship added related to 0028557
2015-12-14 10:25 vmromanos Status new => scheduled
2015-12-14 11:17 vmromanos Note Added: 0082699
2015-12-14 11:19 vmromanos File Added: 31699.diff
2015-12-14 14:38 psanjuan Note Added: 0082724
2015-12-14 15:38 hgbot Checkin
2015-12-14 15:38 hgbot Note Added: 0082726
2015-12-14 15:38 hgbot Status scheduled => resolved
2015-12-14 15:38 hgbot Resolution open => fixed
2015-12-14 15:38 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/45c7d09e8fd077d8cbb909e28d60ff9568a4542e [^]
2015-12-14 15:38 vmromanos Review Assigned To => psanjuan
2015-12-14 15:38 vmromanos Status resolved => closed
2015-12-15 23:49 hudsonbot Checkin
2015-12-15 23:49 hudsonbot Note Added: 0082790


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker