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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0029827
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 09. Financial managementminoralways2015-05-08 12:312015-05-11 17:13
ReporterpsanjuanView Statuspublic 
Assigned Tovmromanos 
PriorityimmediateResolutionfixedFixed in Version3.0PR15Q2.1
StatusclosedFix in branchFixed in SCM revision5c24b3086d32
ProjectionnoneETAnoneTarget Version3.0PR15Q2.1
OSLinux 32 bitDatabaseOracleJava version1.6
OS VersionUbuntu 8.04.1Database version11.1.0.6.0Ant version1.7.0
Product VersionSCM revision 
Review Assigned ToSandrahuguet
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0029827: Open/Close Period Control window should only shown the calendars associated to an Organization

DescriptionOpen/Close Period Control window should only shown the calendars associated to an Organization
Steps To ReproduceGo to Fiscal Calendar window
Create a new one called "Calendario España Test" for F&B España org (this organization already has a calendar assined in the "Organization" window).
Go to Year and create 2014 year.
Go to periods tab and create them (Periods) by using the process button "Create Periods".
Process completes successfully.

Go to Open/Close Period Control window and realize that the new calendar created is shown there. Select it and select all those periods. Try to open them.

Realize that those periods cannot be opened, realize that those periods do not have any document assigned and its status will always remains as "Mixed".

Above scenario is confusing.

Proposed SolutionOpen/Close period control window should only show calendars assigned to Organizations set as ready, because once an organization is set as ready, calendar option turns to read-only, it can not be changed.
TagsApproved
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0029823 closedvmromanos Open/Close Period Control window should only shown the calendars associated to an Organization 

-  Notes
(0077292)
hgbot (developer)
2015-05-11 16:56

Repository: erp/backports/3.0PR15Q2.1
Changeset: 5c24b3086d3276bb5b3c2ec3a0a2caa6632efae2
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Fri May 08 14:02:09 2015 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR15Q2.1/rev/5c24b3086d3276bb5b3c2ec3a0a2caa6632efae2 [^]

Fixed bug 29827: Open/Close Period Control shows calendars associated to organizations

The Open/Close Period Control window was showing all the periods available at the C_Period table.
The target of this window is to open/close periods in fiscal calendars, so it should only show periods belonging to a fiscal calendar linked to an organization set as ready.

The fix has 2 parts:
1. Added a hql where clause to include only periods belonging to a fiscal calendar linked to an organization set as ready.
2. The hql filter clause was wrong because it was filtering by the c_period.ad_org_id. Instead it should be filtering by the organization linked to the calendar's periods

---
M src-db/database/sourcedata/AD_TAB.xml
---
(0077298)
Sandrahuguet (developer)
2015-05-11 17:13

Code review + testing OK

- Issue History
Date Modified Username Field Change
2015-05-08 12:49 vmromanos Type defect => backport
2015-05-08 12:49 vmromanos Target Version => 3.0PR15Q2.1
2015-05-08 14:21 dmitry_mezentsev Tag Attached: Approved
2015-05-11 16:56 hgbot Checkin
2015-05-11 16:56 hgbot Note Added: 0077292
2015-05-11 16:56 hgbot Status scheduled => resolved
2015-05-11 16:56 hgbot Resolution open => fixed
2015-05-11 16:56 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR15Q2.1/rev/5c24b3086d3276bb5b3c2ec3a0a2caa6632efae2 [^]
2015-05-11 17:13 Sandrahuguet Review Assigned To => Sandrahuguet
2015-05-11 17:13 Sandrahuguet Note Added: 0077298
2015-05-11 17:13 Sandrahuguet Status resolved => closed
2015-05-11 17:13 Sandrahuguet Fixed in Version => 3.0PR15Q2.1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker