Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0004549Openbravo ERP00. Application dictionarypublic2008-07-31 12:482008-09-03 23:09
galderromo 
rafaroda 
normalmajoralways
closedfixed 
20Gentoo 2.6.24
2.40beta 
2.40 
No
Core
No
0004549: Process class tab should have a default be not editable and have a fixed value for the action
When you create a process through the application dictionary and setup a class for it, the action (drop down) should have a fixed value (P) and should be not editable.
Go to Process window.
Process class tab.
Create new. Enter a class name.
And save.

You can't see the class, the tab is filtered by action and you didn't chose the right action.
No tags attached.
depends on backport 0004572 closed rafaroda Process class tab should have a default be not editable and have a fixed value for the action 
related to defect 0004636 closed vmromanos Process Class action do not correspond with parent type 
related to defect 0008993 closed rafaroda ad_process window, class tab, action field 
Issue History
2008-07-31 12:48galderromoNew Issue
2008-07-31 12:48galderromoAssigned To => cromero
2008-07-31 12:48galderromosf_bug_id0 => 2033726
2008-08-05 09:59psarobeOBNetwork customer => No
2008-08-05 09:59psarobeSeverityminor => major
2008-08-05 09:59psarobeStatusnew => scheduled
2008-08-05 09:59psarobefix_in_branch => trunk
2008-08-14 15:47jpabloaeIssue Monitored: eduardo_Argal
2008-08-14 15:47jpabloaeNote Added: 0008558
2008-08-18 11:13psarobeAssigned Tocromero => rafaroda
2008-08-18 16:16rafarodaNote Added: 0008593
2008-08-18 17:22rafarodaRelationship addedrelated to 0004636
2008-08-18 19:45svnbotCheckin
2008-08-18 19:45svnbotNote Added: 0008599
2008-08-18 19:45svnbotStatusscheduled => resolved
2008-08-18 19:45svnbotResolutionopen => fixed
2008-08-18 19:45svnbotsvn_revision => 6386
2008-08-18 19:46svnbotCheckin
2008-08-18 19:46svnbotNote Added: 0008600
2008-08-18 19:46svnbotsvn_revision6386 => 6387
2008-08-18 19:49svnbotCheckin
2008-08-18 19:49svnbotNote Added: 0008602
2008-08-18 19:49svnbotsvn_revision6387 => 6388
2008-08-18 20:05svnbotCheckin
2008-08-18 20:05svnbotNote Added: 0008603
2008-08-18 20:05svnbotsvn_revision6388 => 6389
2008-09-03 23:09psarobeRegression testing => No
2008-09-03 23:09psarobeStatusresolved => closed
2008-09-03 23:09psarobeFixed in Version => 2.40
2009-05-20 10:13rafarodaRelationship addedrelated to 0008993

Notes
(0008558)
jpabloae   
2008-08-14 15:47   
Reminder sent to: eduardo_Argal

The 2.40 release is close. As soon as all the major bugs are closed, we are ready to release. This is why I'd ask you to prioritize this issue.
(0008593)
rafaroda   
2008-08-18 16:16   
Proposed solution:

Step 1) Mark 'IsReport' and 'IsJasper' columns of 'AD_PROCESS' table as 'Stored in Session' (Application Dictionary || Tables and Columns || Table >> Column ).

Step 2) Add the following Default Value to 'Action' column of 'AD_MODEL_OBJECT' table: @SQL=SELECT (CASE WHEN @IsReport@='Y' OR @IsJasper@='Y' THEN 'R' ELSE 'P' END) FROM DUAL

Step 3) Mark 'Action' field read-only inside 'Process Class' tab (Application Dictionary || Report and Process || Report & Process >> Process Class)
(0008599)
svnbot   
2008-08-18 19:45   
Repository: openbravo
Revision: 6386
Author: rafaroda
Date: 2008-08-18 19:45:05 +0200 (Mon, 18 Aug 2008)

Fixes bug 0004549 Marked 'IsReport' and 'IsJasper' columns of 'AD_PROCESS' table as 'Stored in Session'. Added the following Default Value to 'Action' column of 'AD_MODEL_OBJECT' table: @SQL=SELECT (CASE WHEN @IsReport@='Y' OR @IsJasper@='Y' THEN 'R' ELSE 'P' END) FROM DUAL. Marked 'Action' field as read-only inside 'Process Class' tab.

---
U branches/r2.3x/database/sourcedata/AD_COLUMN.xml
U branches/r2.3x/database/sourcedata/AD_FIELD.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=6386&sc=1 [^]
(0008600)
svnbot   
2008-08-18 19:46   
Repository: openbravo
Revision: 6387
Author: rafaroda
Date: 2008-08-18 19:46:27 +0200 (Mon, 18 Aug 2008)

Fixes bug 0004549 Marked 'IsReport' and 'IsJasper' columns of 'AD_PROCESS' table as 'Stored in Session'. Added the following Default Value to 'Action' column of 'AD_MODEL_OBJECT' table: @SQL=SELECT (CASE WHEN @IsReport@='Y' OR @IsJasper@='Y' THEN 'R' ELSE 'P' END) FROM DUAL. Marked 'Action' field as read-only inside 'Process Class' tab.

---
U trunk/src-db/database/sourcedata/AD_COLUMN.xml
U trunk/src-db/database/sourcedata/AD_FIELD_TRL.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=6387&sc=1 [^]
(0008602)
svnbot   
2008-08-18 19:49   
Repository: openbravo
Revision: 6388
Author: rafaroda
Date: 2008-08-18 19:48:51 +0200 (Mon, 18 Aug 2008)

Fixes bug 0004549 Marked 'IsReport' and 'IsJasper' columns of 'AD_PROCESS' table as 'Stored in Session'. Added the following Default Value to 'Action' column of 'AD_MODEL_OBJECT' table: @SQL=SELECT (CASE WHEN @IsReport@='Y' OR @IsJasper@='Y' THEN 'R' ELSE 'P' END) FROM DUAL. Marked 'Action' field as read-only inside 'Process Class' tab.

---
U trunk/src-db/database/sourcedata/AD_FIELD.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=6388&sc=1 [^]
(0008603)
svnbot   
2008-08-18 20:05   
Repository: openbravo
Revision: 6389
Author: rafaroda
Date: 2008-08-18 20:05:43 +0200 (Mon, 18 Aug 2008)

Note to issue 0004549 Reverted commit of src-db/database/sourcedata/AD_FIELD_TRL.xml file done by error in revision number 6387.

---
U trunk/src-db/database/sourcedata/AD_FIELD_TRL.xml
---

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