Tuesday, October 14, 2008

Small improvement in GTK-Client


Added close button in tab header.

Monday, October 6, 2008

New field type (fields.related)

New field type is added in trunk.
Example:
In tree view of partner you can see country and city of first partner's address.
Following fields are added in partner object.
'city':fields.related('address', 'city', type='char',string='City'),
'country':fields.related('address','country_id',type='many2one',relation='res.country',string='Country'),

Where address is the one2many field on partner object.

Wednesday, August 13, 2008

attrs attribute on field, group, page, button tag

The new attrs attribute can be used to dynamically change other attributes of view components based on the value of other fields. It's somewhat similar to states attribute, but it will executed at client side only.
<form string="Some Form">
<notebook>
<page string="Main" attrs="{'': [('state','=','done')]}">
<field name="name" attrs="{'required': [('state','=','draft')],
'readonly': [('state','=','open')]}"/>
<field name="active"/>
<field name="state"/>
<group attrs="{'invisible': [('active', '=',0),('state','=','draft')]}">
some code
</group>
</page>
</notebook>
</form>
Readonly/Required attributes works on field tag visibility is supported on buttons, groups and pages to maintain form layout in OpenERP GTK/Web Client. Readonly/Required attributes will be supported for simple widgets only and not complex ones.

Spell check functionality on textview widget

Added spell check functionality on textview widget in Development version of GTK client.It will set language according to locale of the system.

Tuesday, June 24, 2008

Balance Sheet & Profit and Loss Report

New Report in l10n_fr module prints Balance Sheet & Profit and Loss.
You can run it from Financial Management>Reporting>Balance Sheet & Profit and Loss.
The wizard asks for Fiscal year, company name and ALL or Posted Entries then print Balance sheet.
Here is how the report looks like.


The report is copyright by
Vincent Cardon,
Denis Cardon and Emmanuel Richard
Ingenieur fondateur
Tranquil IT Systems

Monday, June 9, 2008

Google Map Launcher


New module in extra_addons named google_map.
This module adds launch google map button in partner contact form which will calculate google maps url from partners' address and open it in your default browser.







New action in GTK Client

ir.actions.act_url new action type added in gtk client which will open url in system's default browser.

Example:

return {
'type': 'ir.actions.act_url',
'url': 'www.openerp.com',
'target': 'new'
}

Tuesday, May 27, 2008

base_crypt Module (Password Encryption)

I am feeling glade to write this, The most useful and required module is available in extra addons base_crypt which will store user password in encrypted format so, no one can read password from your database and not even export it in readable format.