You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.6 KiB
36 lines
1.6 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data>
|
|
<record id="view_model_fields_form" model="ir.ui.view">
|
|
<field name="type">form</field>
|
|
<field name="model">ir.model.fields</field>
|
|
<field name="inherit_id" ref="base.view_model_fields_form" />
|
|
<field name="arch" type="xml">
|
|
<data>
|
|
<field name="serialization_field_id" position="after">
|
|
<button type="object" name="action_unserialize_field"
|
|
string="Unserialize field" colspan="4"
|
|
attrs="{'invisible': ['|', ('serialization_field_id','=',False), ('state', '!=', 'manual')]}"
|
|
/>
|
|
</field>
|
|
</data>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="view_model_form" model="ir.ui.view">
|
|
<field name="type">form</field>
|
|
<field name="model">ir.model</field>
|
|
<field name="inherit_id" ref="base.view_model_form" />
|
|
<field name="arch" type="xml">
|
|
<data>
|
|
<field name="serialization_field_id" position="after">
|
|
<button type="object" name="action_unserialize_field"
|
|
string="Unserialize field" colspan="4"
|
|
attrs="{'invisible': ['|', ('serialization_field_id','=',False), ('state', '!=', 'manual')]}"
|
|
/>
|
|
</field>
|
|
</data>
|
|
</field>
|
|
</record>
|
|
</data>
|
|
</openerp>
|