Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0004636Openbravo ERP00. Application dictionarypublic2008-08-18 17:222008-12-15 19:28
rafaroda 
vmromanos 
normalminoralways
closedfixed 
20Ubuntu 7.10
pi 
 
No
Core
No
0004636: Process Class action do not correspond with parent type
When defining a Report & Process (Application Dictionary || Report and Process || Report & Process), one can say if it is a report or a Jasper report. In the case that none of these options is ticked, Openbravo ERP assumes that it is a process. When defining the Process Class (Application Dictionary || Report and Process || Report & Process >> Process Class), 'Action' field do not correspond with header's one: 'Action' field value should be 'Report' (R) when header is a report or a Jasper report and 'Process' (P) otherwise.

There are wrong data for 'Action' column within AD_MODEL_OBJECT.xml file.
Execute the following queries:

select mo.ad_model_object_id, mo.action, (CASE WHEN p.IsReport='Y' OR p.IsJasper='Y' THEN 'R' ELSE 'P' END) as parentaction
from ad_process p, ad_model_object mo
where mo.ad_process_id = p.ad_process_id and mo.action != (CASE WHEN p.IsReport='Y' OR p.IsJasper='Y' THEN 'R' ELSE 'P' END);

select ad_process.ISJASPER, ad_process.ISREPORT, ad_process.NAME, ad_process.JRNAME, action, ad_model_object.classname
from ad_process, ad_model_object
where ad_process.ad_process_id = ad_model_object.ad_process_id
order by action;
No tags attached.
related to defect 0004549 closed rafaroda Process class tab should have a default be not editable and have a fixed value for the action 
depends on defect 00046582.50 closed vmromanos There are some reports which don't have a report field checked 
Issue History
2008-08-18 17:22rafarodaNew Issue
2008-08-18 17:22rafarodaAssigned To => cromero
2008-08-18 17:22rafarodasf_bug_id0 => 2057761
2008-08-18 17:22rafarodaOBNetwork customer => No
2008-08-18 17:22rafarodaRegression testing => No
2008-08-18 17:22rafarodaRelationship addedrelated to 0004549
2008-08-20 10:04iperdomoStatusnew => scheduled
2008-08-20 10:04iperdomoAssigned Tocromero => vmromanos
2008-08-20 10:04iperdomofix_in_branch => trunk
2008-08-20 13:22vmromanosRelationship addeddepends on 0004658
2008-08-20 16:47svnbotCheckin
2008-08-20 16:47svnbotNote Added: 0008638
2008-08-20 16:47svnbotStatusscheduled => resolved
2008-08-20 16:47svnbotResolutionopen => fixed
2008-08-20 16:47svnbotsvn_revision => 6434
2008-12-15 19:28psarobeStatusresolved => closed

Notes
(0008638)
svnbot   
2008-08-20 16:47   
Repository: openbravo
Revision: 6434
Author: vmromanos
Date: 2008-08-20 16:47:13 +0200 (Wed, 20 Aug 2008)

Fixed bug 0004636: Modified the ad_model_object table. The Action field inside the Process Class now corresponds with the parent type.

---
U branches/r2.5x/src-db/database/sourcedata/AD_MODEL_OBJECT.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=6434&sc=1 [^]