Cool Widgets in OpenERP

Widgets are the GUI elements that can perform some controlling tasks. In OpenERP, we can see a few of widgets that have significance in the views like statuses of the any process, seeing states of an object, or getting lists out of huge data, or splitting data.

Some interesting widgets I came across are:

selection: this widget adds a drop down list when we have many2one field, for example displaying only journal name where a journal_id is a many2one field.

 openerp.jpg
  1. <field name=”journal_id” widget=”selection”/>

progressbar: this widget is used to show the progress of a task in percentage, so we add a float field in the model and then use in the view.

  1. ‘progress’: fields.float(‘Progress’, readonly=True, help=’Shows you the progress made today on the reconciliation process’)
  1. <field name=”progress” widget=”progressbar” colspan=”4″/>

Read full blog at our highly specific C, Java, PHP, Javascript, iPhone, android developer forum about the topic described above “Cool Widgets in OpenERP“. You can also learn much more about different programming technologies and can enhance your tech skills.

Advertisements
Cool Widgets in OpenERP

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s