
Added close button in tab header.
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.<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>

