Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009399Openbravo ERP00. Application dictionarypublic2009-06-09 09:552009-07-29 00:00
FrancescoFinamore 
alostale 
urgentminorhave not tried
closedfixed 
20rPath Linux
2.50MP1 
2.50MP3 
Core
No
0009399: Process associated to a module.
On the window Report and Process , tab Process Class there is the field Action with this Default Value :
@SQL=SELECT (CASE WHEN @IsReport@='Y' OR @IsJasper@='Y' THEN 'R' WHEN @AD_MODULE_ID@ IS NOT NULL THEN 'M' ELSE 'P' END) FROM DUAL
I check the field is linked to a column with reference AD_Menu Action
but the list doesn't contains the value 'M' and in effect when i associate the process to a module the value of Action is empty.
1) Create a module
2) Create a process associated that module
3) Create a process class record , the field Action is empty and if you try to save it , it disappears because there is a filter because Action must be "P" or "R" .

For this i gone on the Window of Report and process and i have seen this default value :
@SQL=SELECT (CASE WHEN @IsReport@='Y' OR @IsJasper@='Y' THEN 'R' WHEN @AD_MODULE_ID@ IS NOT NULL THEN 'M' ELSE 'P' END) FROM DUAL
250MP3releasecandidate, Modularity
Issue History
2009-06-09 09:55FrancescoFinamoreNew Issue
2009-06-09 09:55FrancescoFinamoreAssigned To => rafaroda
2009-06-09 17:52rafarodaNote Added: 0017144
2009-06-09 17:52rafarodaStatusnew => feedback
2009-06-09 18:01FrancescoFinamoreNote Added: 0017147
2009-06-10 17:37psarobeTag Attached: Modularity
2009-06-10 17:37psarobeStatusfeedback => scheduled
2009-06-10 17:37psarobeAssigned Torafaroda => alostale
2009-06-10 17:37psarobefix_in_branch => pi
2009-06-10 17:38psarobePrioritynormal => urgent
2009-06-10 17:38psarobefix_in_branchpi =>
2009-06-10 17:59rafarodaversion => 2.50MP1
2009-06-10 17:59rafarodaProposed Solution updated
2009-07-16 10:09hgbotCheckin
2009-07-16 10:09hgbotNote Added: 0018288
2009-07-16 10:09hgbotStatusscheduled => resolved
2009-07-16 10:09hgbotResolutionopen => fixed
2009-07-16 10:09hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/38d8a9c84968d1ec95b7796989b753ba1aeec8a5 [^]
2009-07-21 16:24psarobeFixed in Version => 2.50MP3
2009-07-21 16:26psarobeTag Attached: 250MP3releasecandidate
2009-07-28 11:27psarobeStatusresolved => closed
2009-07-29 00:00anonymoussf_bug_id0 => 2828652

Notes
(0017144)
rafaroda   
2009-06-09 17:52   
Francesco, could you please provide Openbravo ERP version and the detailed steps to reproduce this issue?

Thanks.
(0017147)
FrancescoFinamore   
2009-06-09 18:01   
Sure :
i work on 2.50MP1 tag
1) Create a module
2) Create a process associated that module
3) Create a process class record , the field Action is empty and if you try to save it , it disappears because there is a filter because Action must be "P" or "R" .

For this i gone on the Window of Report and process and i have seen this default value :
@SQL=SELECT (CASE WHEN @IsReport@='Y' OR @IsJasper@='Y' THEN 'R' WHEN @AD_MODULE_ID@ IS NOT NULL THEN 'M' ELSE 'P' END) FROM DUAL

but if you have a module the value is "M" and this value there isn't on the reference list "AD_Menu Action" linked to Action .
Thanks , Bye
(0018288)
hgbot   
2009-07-16 10:09   
Repository: erp/devel/pi
Changeset: 38d8a9c84968d1ec95b7796989b753ba1aeec8a5
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Jul 16 10:08:57 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/38d8a9c84968d1ec95b7796989b753ba1aeec8a5 [^]

fixed bug 0009399: Process associated to a module.

---
M src-db/database/sourcedata/AD_AUXILIARINPUT.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_REF_LIST.xml
---