Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007788Openbravo ERP01. General setuppublic2009-02-24 10:362022-02-01 08:08
alostale 
Triage Platform Base 
lowminoralways
acknowledgedopen 
5
pi 
 
Core
No
0007788: Actions for documents cannot be customized.
Actions for documents cannot easily customized since they are hardcoded in org.openbravo.erpCommon.ad_actionButton.ActionButtonUtility class. Although there is a reference list for defining all the possible actions it is only used to display them in different languages but the values are hardcoded.

For example to deactivate an action or to include a new one it is necessary to modify this class. Other case the new actions will not be shown in the combo whereas the deactivated ones will display a blank line but in case of selecting this blank line the action will be performed anyway.
Let's disable a action and create a new one:
-Go to Application Dictionary || Reference || Reference
-Select the reference that holds the actions for documents: "All_Document Action"
-Go to List Reference tab
-Deactivate an action (for example complete)
-Create a new action in that tab.
-Go to a draft Purchase Order. Note the complete button doesn't have any name.
-Click on it. Note the list of actions has a blank row and the new action is not included there.
-Select the blank line and click OK. The complete action is performed though it was disabled.
Review ActionButtonUtility class to allow somehow customizations in this list.
No tags attached.
related to feature request 0010750 scheduled iciordia The ActionButtonUtility.java file can not be modified using modularity 
related to feature request 0030932 new Triage Platform Base It would be nice to be able to define permissions only for specific actions of Complete button 
Issue History
2009-02-24 10:36alostaleNew Issue
2009-02-24 10:36alostaleAssigned To => rafaroda
2009-02-24 10:36alostaleRegression testing => No
2009-02-24 12:29rafarodaversion => trunk
2009-03-04 17:30gorkaionAssigned Torafaroda => alostale
2009-03-04 17:30gorkaionPrioritynormal => low
2009-03-04 17:30gorkaionStatusnew => acknowledged
2011-10-31 17:28alostaleTypedefect => design defect
2015-09-30 18:06ngarciaRelationship addedrelated to 0030932
2016-05-20 12:06ngarciaRelationship addedrelated to 0010750
2017-04-10 14:35alostaleAssigned Toalostale => platform
2022-02-01 08:08alostaleAssigned Toplatform => Triage Platform Base

There are no notes attached to this issue.