Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0016401Openbravo ERP09. Financial managementpublic2011-03-02 23:452011-04-04 12:59
malsasua 
AinhoaPagola 
urgentmajoralways
closedfixed 
20Community Appliance
2.50MP26 
2.50MP272.50MP29 
Core
No
0016401: the system allows to post documents in period closed
In 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".
. 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.
method 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"
No tags attached.
blocks defect 00161102.50MP27 closed AinhoaPagola the system allows to post documents in period closed 
Issue History
2011-03-21 13:50AinhoaPagolaTypedefect => backport
2011-03-21 13:50AinhoaPagolafix_in_branch => 2.50
2011-03-29 13:41AinhoaPagolaAssigned Todalsasua => AinhoaPagola
2011-04-01 09:10hgbotCheckin
2011-04-01 09:10hgbotNote Added: 0035437
2011-04-01 09:10hgbotStatusscheduled => resolved
2011-04-01 09:10hgbotResolutionopen => fixed
2011-04-01 09:10hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/ea8bd3fe2b9683429227fcad51b3b5ca84e2a873 [^]
2011-04-04 12:59malsasuaNote Added: 0035535
2011-04-04 12:59malsasuaStatusresolved => closed
2011-04-04 12:59malsasuaFixed in Version => 2.50MP29

Notes
(0035437)
hgbot   
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   
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