diff options
| author | Stephane Wirtel <stephane@openerp.com> | 2009-11-24 10:15:43 +0100 |
|---|---|---|
| committer | Stephane Wirtel <stephane@openerp.com> | 2009-11-24 10:15:43 +0100 |
| commit | e56a3b5a70bfc6799ddc6d241d04c33140cd7a1d (patch) | |
| tree | 80794653273ecbce802dd4f48d920cbf2f6fb5fe /python25-compat/SocketServer.py | |
| parent | fc896c18e1770ef9d508a87393f2da06ddb8da0c (diff) | |
[IMP] Add the support for the override of any attribute.
You can override an attribute of an xml view with the <attribute /> tag
Example:
<openerp>
<data>
<record model="ir.ui.view" id="res_partner_form">
<field name="name">res.partner.form</field>
<field name="model">res.partner</field>
<field name="type">form</field>
<field name="inherit_id" ref="base.view_partner_form" />
<field name="arch" type="xml">
<xpath expr="/form/notebook/page[@string='General']/field[@name='address']/tree" position="attributes">
<attribute name="editable">top</attribute>
</xpath>
</field>
</record>
</data>
</openerp>
Regards,
bzr revid: stephane@openerp.com-20091124091543-wsxu48hx117e0w6h
Diffstat (limited to 'python25-compat/SocketServer.py')
0 files changed, 0 insertions, 0 deletions
