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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0027530
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementminoralways2014-09-02 17:052014-12-30 23:28
ReportermaiteView Statuspublic 
Assigned Toreinaldoguerra 
PriorityhighResolutionfixedFixed in Versionpi
StatusclosedFix in branchFixed in SCM revision73cd159d83fb
ProjectionnoneETAnoneTarget Version3.0PR15Q1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toumartirena
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0027530: It is not possible to run "Create Amortization" process having 2 amortization records for same org and date in Draft status

DescriptionIt is not possible to run "Create Amortization" process having 2 amortization records for same org and date in Draft status
Steps To Reproduce1. Access "Amortization" window, choose record with name 31-12-2014 and Process it
2. Access "Assets" window and create new record for
  Organization= España
  Depreciate= yes
  Depreciation type= linear
  Calculate type= time
  Amortize= monthly
  Usable life= 30
  Purchase Date= today
  Depreciation start date= today
  Depreciation amount= 1000
Run "Create amortization" process
3. Access "Amortization" window, search just created record with name 31-12-2014 and Unprocess it
4. Repeat step 2. Run "Create amortization" process and error will be raised
Proposed SolutionShould be possible to have several "Amortization" records in Draft status
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0072785)
reinaldoguerra (developer)
2014-12-23 00:42

Test plan used:
1- Login into Openbravo ERP
2- Access "Amortization" window, choose record with name 31-12-2014 for España S.A organization and Process it.
3- Access "Assets" window and create new record for:
  Organization= España S.A
  Depreciate= yes
  Depreciation type= linear
  Calculate type= time
  Amortize= monthly
  Usable life= 30
  Purchase Date= today
  Depreciation start date= today
  Depreciation amount= 1000
4- Run "Create amortization" process
5- Access "Amortization" window, search again the record with name 31-12-2014 (same as step 2) and Unprocess it. You can find now two amortizations for the same organization with name 31-12-2014 and in draft status.
6- Repeat step 2. Run "Create amortization" process and error will be raised with a correct message: there is no possible to create amortizations having two of them in draft status, for the same organization and dates range.
(0072848)
hgbot (developer)
2014-12-29 10:12

Repository: erp/devel/pi
Changeset: 73cd159d83fb9369d8d79a33675c542d3a47f775
Author: Reinaldo Guerra <reinaldo.guerra <at> peoplewalking.com>
Date: Wed Dec 24 10:19:35 2014 -0500
URL: http://code.openbravo.com/erp/devel/pi/rev/73cd159d83fb9369d8d79a33675c542d3a47f775 [^]

Fixed bug 27530: Wrong error message having 2 amortization in Draft status.

Create amortization process in class named AssetLinearDepreciationMethodProcess was changed to show correctly an error message when retrieving more than one amortization in draft status, for the same organization and range of dates.
Now when trying to create a new amortization, and exists two or more amorizations for the same organization and dates in draft status, a correct message will be shown.

---
M src/org/openbravo/erpCommon/ad_process/assets/AssetLinearDepreciationMethodProcess.java
---
(0072859)
umartirena (reporter)
2014-12-29 17:33

Code Review and Testing OK
(0073273)
hudsonbot (developer)
2014-12-30 23:28

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

- Issue History
Date Modified Username Field Change
2014-09-02 17:05 maite New Issue
2014-09-02 17:05 maite Assigned To => dmiguelez
2014-09-02 17:05 maite Modules => Core
2014-09-02 17:05 maite Resolution time => 1415919600
2014-09-02 17:05 maite Triggers an Emergency Pack => No
2014-09-02 17:05 maite Target Version => 3.0PR14Q4
2014-09-02 17:06 maite Issue Monitored: networkb
2014-09-22 16:36 jonalegriaesarte Target Version 3.0PR14Q4 => 3.0PR15Q1
2014-10-31 13:09 dmitry_mezentsev Assigned To dmiguelez => Sandrahuguet
2014-11-20 17:09 maite Steps to Reproduce Updated View Revisions
2014-11-22 17:07 reinaldoguerra Assigned To Sandrahuguet => reinaldoguerra
2014-11-22 17:07 reinaldoguerra Status new => scheduled
2014-12-23 00:42 reinaldoguerra Note Added: 0072785
2014-12-29 10:12 hgbot Checkin
2014-12-29 10:12 hgbot Note Added: 0072848
2014-12-29 10:12 hgbot Status scheduled => resolved
2014-12-29 10:12 hgbot Resolution open => fixed
2014-12-29 10:12 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/73cd159d83fb9369d8d79a33675c542d3a47f775 [^]
2014-12-29 17:33 umartirena Note Added: 0072859
2014-12-29 17:33 umartirena Review Assigned To => umartirena
2014-12-29 17:33 umartirena Status resolved => closed
2014-12-29 17:33 umartirena Fixed in Version => pi
2014-12-30 23:28 hudsonbot Checkin
2014-12-30 23:28 hudsonbot Note Added: 0073273


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker