Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011542Openbravo ERPZ. Otherspublic2009-11-30 07:232009-12-30 00:00
arunkumar 
rafaroda 
highmajorhave not tried
closedfixed 
5
 
2.50MP10 
Core
No
0011542: Unable to close a period in the fiscal calendar
When we try to close the period in the fiscal calendar an error message is displayed " Error:In order to close a year, all the previous ones must be closed." Even though there is no previous periods existing this error message has been displayed.
Install the quick start template.

Login with the financial role user credentials.

Go to Financial management->Accounting->Setup->Fiscal calendar->Calendar
Click new and fill the name: Sample client fiscal calendar
Save
Move to Year and click new. Write the current year (i.e 2008)
Save
Press the button Create Periods and click OK

Go to Financial management->Accounting->Transactions->Open/Close period control
Click new and select:
Organization: Pamplona
Calendar: Sample client fiscal calendar
Until period No.: Jan 08
Period action: Open period
Save.
Press Open/Close all and click OK.

Go to Financial management->Accounting->Transactions->Open/Close period control
Click new and select:
Organization: Pamplona
Calendar: Sample client fiscal calendar
Until period No.: Jan 08
Period action: Close period
Save.
Press Open/Close all and click OK.

You will get an error message "Error:In order to close a year, all the previous ones must be closed"

Since there is no previous one was existing there should not be any error message displayed.
No tags attached.
jpg Opencloseissue.JPG (143,068) 2009-11-30 07:23
https://issues.openbravo.com/file_download.php?file_id=1998&type=bug
jpg
Issue History
2009-11-30 07:23arunkumarNew Issue
2009-11-30 07:23arunkumarFile Added: Opencloseissue.JPG
2009-11-30 07:24arunkumarStatusnew => scheduled
2009-11-30 07:24arunkumarAssigned To => rafaroda
2009-11-30 07:24arunkumarfix_in_branch => pi
2009-11-30 10:29psarobeProject@27@ => Openbravo ERP
2009-12-01 12:53hgbotCheckin
2009-12-01 12:53hgbotNote Added: 0022293
2009-12-01 12:53hgbotStatusscheduled => resolved
2009-12-01 12:53hgbotResolutionopen => fixed
2009-12-01 12:53hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/725617e6a72e906195196102a5ce9e7bd2d73c43 [^]
2009-12-04 09:14hudsonbotCheckin
2009-12-04 09:14hudsonbotNote Added: 0022428
2009-12-29 11:28sureshbabuNote Added: 0023136
2009-12-29 11:28sureshbabuStatusresolved => closed
2009-12-29 11:28sureshbabuFixed in Version => 2.50MP10
2009-12-30 00:00anonymoussf_bug_id0 => 2923118

Notes
(0022293)
hgbot   
2009-12-01 12:53   
Repository: erp/devel/pi
Changeset: 725617e6a72e906195196102a5ce9e7bd2d73c43
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Mon Nov 30 10:40:26 2009 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/725617e6a72e906195196102a5ce9e7bd2d73c43 [^]

Fixes bug 0011542: Unable to close a period in the fiscal calendar

---
M src-db/database/model/functions/C_PERIOD_PROCESS.xml
---
(0022428)
hudsonbot   
2009-12-04 09:14   
---
A changeset related to this issue has passed a series of tests and has been promoted to main:

Changeset: http://code.openbravo.com/erp/devel/main/rev/f6bc559b1872 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
---
(0023136)
sureshbabu   
2009-12-29 11:28   
Tested & working fine.