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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0016401
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 09. Financial managementmajoralways2011-03-02 23:452011-04-04 12:59
ReportermalsasuaView Statuspublic 
Assigned ToAinhoaPagola 
PriorityurgentResolutionfixedFixed in Version2.50MP29
StatusclosedFix in branch2.50Fixed in SCM revisionea8bd3fe2b96
ProjectionnoneETAnoneTarget Version2.50MP27
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
Product Version2.50MP26SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0016401: the system allows to post documents in period closed

DescriptionIn environment with two organizations "legal with accounting", if there are two period control (for each organization), to the same calendar, if the period control of organization "A" is closed, and the period control of organization "B" is open, the system allows to post documents of organization "A".
Steps To Reproduce. organization A legal with accounting, allow period control "Y", calendar "C"
. organization B legal with acocunting, allow period control "Y", calendar "C"
. the period Jan -06 is open in organization A and B
. create invoice in organization A, date account 01/01/2006
. process invoice (no post)
. close the period jan-06 to organization A
. post the previous invoice. The invoice is posted.
Proposed Solutionmethod periodOpen in src/org/openbravo/erpCommon/ad_forms/AcctServer_data.xsql file, should be added a new join:
"and c_periodcontrol.ad_org_id = ad_org.ad_org_id"
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 00161102.50MP27 closedAinhoaPagola the system allows to post documents in period closed 

-  Notes
(0035437)
hgbot (developer)
2011-04-01 09:10

Repository: erp/stable/2.50
Changeset: ea8bd3fe2b9683429227fcad51b3b5ca84e2a873
Author: Ainhoa Pagola <ainhoa.pagola <at> openbravo.com>
Date: Tue Mar 29 13:44:48 2011 +0200
URL: http://code.openbravo.com/erp/stable/2.50/rev/ea8bd3fe2b9683429227fcad51b3b5ca84e2a873 [^]

Fixes bug 16401. Documents are not posted when the period is closed for their organization.

---
M src/org/openbravo/erpCommon/ad_forms/AcctServer.java
M src/org/openbravo/erpCommon/ad_forms/AcctServer_data.xsql
---
(0035535)
malsasua (developer)
2011-04-04 12:59

tested: it works fine. The test has been two organizations, one of them the period is closed and the other, the period is opened

- Issue History
Date Modified Username Field Change
2011-03-21 13:50 AinhoaPagola Type defect => backport
2011-03-21 13:50 AinhoaPagola fix_in_branch => 2.50
2011-03-29 13:41 AinhoaPagola Assigned To dalsasua => AinhoaPagola
2011-04-01 09:10 hgbot Checkin
2011-04-01 09:10 hgbot Note Added: 0035437
2011-04-01 09:10 hgbot Status scheduled => resolved
2011-04-01 09:10 hgbot Resolution open => fixed
2011-04-01 09:10 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/ea8bd3fe2b9683429227fcad51b3b5ca84e2a873 [^]
2011-04-04 12:59 malsasua Note Added: 0035535
2011-04-04 12:59 malsasua Status resolved => closed
2011-04-04 12:59 malsasua Fixed in Version => 2.50MP29


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker