User Interface

Enable/Disable options in Openbravo using Preferences

In Openbravo ERP, preferences are a cool and effective way to manage restrictions and apply certain additional actions at various levels like Client, Organization, Role and even at the window level. For more information on using preferences, refer

One such preference was enabling/disabling toolbar options like  Delete, Attach, Export. From Openbravo 3.0 MP17 you can enable or disable these options for a particular window or a particular user and even for a particular role. Lets see few scenarios where this could come handy.

Note that all these options are enabled by default and using preferences you will only be able to disable them.

Usecase 1 : Restrict Deletion of Records
John is a new intern and maintaining User Information. Though he should be allowed access to ‘user’ information window, he should not be allowed to delete Users. This can be done by creating a preference as in the screenshot. Once this setting is saved, John will not be able to delete records from the User Window.

Usecase 2 :  Restrict export data
John (again) has also access to the General ledger window. But since this is a critical data, you do not want him to be able to Export this information. Usually the export is done through the Export as Spreadsheet option provided at each window. To disable this you need to create a preference like the below screenshot.

Usecase 3: Restrict attachments option
David handles the goods receipt section. As soon as he receives a shipment, he uploads the scanned copy of the receipt to the Goods Receipt record. But you want all users with the role ‘Sales’ to be able to view the Goods Receipt window, but not be able to view the attachments. You can achieve this by creating a preference as follows

Hope these cases give a clear picture of the advantages of using these preferences.

Previous post

Oracle 11g Installation on Windows 7 | MacLochlainns Weblog

Next post

Design Guidance for Openbravo 3


  1. Johnk67
    July 22, 2014 at 10:19 AM

    Im not that much of a online reader to be honest but your blogs really nice, keep it up! I’ll go ahead and bookmark your site to come back later. All the best bcgfgddkeefk

  2. Drash
    September 27, 2014 at 2:43 AM

    Hello there, I’m trying to hide the recent views list that is showed in the workspace, but I can’t do it. I setup the preference with value = N but this didń’t work properly, it’s still visible.
    Could you tell me how to implement this option?

Leave a reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>