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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0011460
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementtrivialalways2009-11-23 12:402010-10-14 00:00
ReporternetworkbView Statuspublic 
Assigned Tovmromanos 
PrioritynormalResolutionfixedFixed in Version2.50MP23
StatusclosedFix in branchFixed in SCM revisionf2c30fd7b2f8
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP8SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0011460: Unpost an Invoice in a Period Control closed

DescriptionWhen you click 'Unpost' and set 'Delete accounting entry' in an Invoice when its Period Control is closed, appears this message:

      
Process completed successfully
Updated = 0, Deleted = 0
Steps To Reproduce-As Openbravo Admin go to Sales Management || Transactions || Sales Invoice
-Create a new record.
   -Invoice Date: 03-01-2006
   -Accounting Date: 03-01-2009
-Save and go to Lines
-Create a new record.
-Go to the header and complete
-Click Post

-Go to Financial Management || Accounting || Transactions || Open/Close Period Control
-Create a new record.
    -Year: 2006
    -Until Period: Jan-06
    -Period Action: Close Period
-Save and click 'Open/Close All'

-Go back to de Sales Invoice created.
-Click Unpost and set Delete accounting entry

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0022486)
psarobe (manager)
2009-12-07 17:25

Which is the solution you proposed?

Period closed message?
(0022487)
networkb (developer)
2009-12-07 17:30

The message should show something like 'It is not possible to unpost a document in a closed period'
(0031387)
hgbot (developer)
2010-09-27 15:10

Repository: erp/devel/pi
Changeset: f2c30fd7b2f81ae82158c5090dab2b5afa8463b7
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Mon Sep 27 10:13:22 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/f2c30fd7b2f81ae82158c5090dab2b5afa8463b7 [^]

Fixed bug 11460: Unpost a document in a closed period

Added a check in the FACT_ACCT_RESET process that is run
only when the user manually tries to unpost a document. If the
period is closed, an error is shown.

However, the global 'Reset accounting' process will not show any error in
case it finds any document in a closed period.

---
M src-db/database/model/functions/FACT_ACCT_RESET.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0031469)
hudsonbot (developer)
2010-09-29 11:57

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/f2c30fd7b2f8 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/51c2c2967221 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18452.obx [^]
(0031802)
psarobe (manager)
2010-10-13 12:24

Tested working fine

- Issue History
Date Modified Username Field Change
2009-11-23 12:40 networkb New Issue
2009-11-23 12:40 networkb Assigned To => rafaroda
2009-12-07 17:25 psarobe Note Added: 0022486
2009-12-07 17:25 psarobe Status new => feedback
2009-12-07 17:30 networkb Note Added: 0022487
2009-12-07 17:30 networkb Status feedback => new
2009-12-07 19:17 psarobe Status new => scheduled
2009-12-07 19:17 psarobe Assigned To rafaroda => dalsasua
2009-12-07 19:17 psarobe fix_in_branch => pi
2009-12-09 08:49 rafaroda Priority immediate => normal
2009-12-09 08:49 rafaroda fix_in_branch pi =>
2010-09-27 10:03 vmromanos Assigned To dalsasua => vmromanos
2010-09-27 15:10 hgbot Checkin
2010-09-27 15:10 hgbot Note Added: 0031387
2010-09-27 15:10 hgbot Status scheduled => resolved
2010-09-27 15:10 hgbot Resolution open => fixed
2010-09-27 15:10 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/f2c30fd7b2f81ae82158c5090dab2b5afa8463b7 [^]
2010-09-29 11:57 hudsonbot Checkin
2010-09-29 11:57 hudsonbot Note Added: 0031469
2010-10-13 12:24 psarobe Note Added: 0031802
2010-10-13 12:24 psarobe Status resolved => closed
2010-10-13 12:24 psarobe Fixed in Version => 2.50MP23
2010-10-14 00:00 anonymous sf_bug_id 0 => 3086960


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker