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.
58 lines
2.0 KiB
58 lines
2.0 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<openerp>
|
|
<data noupdate="0">
|
|
<record id="view_revision_behavior_tree" model="ir.ui.view">
|
|
<field name="name">revision.behavior.tree</field>
|
|
<field name="model">revision.behavior</field>
|
|
<field name="arch" type="xml">
|
|
<tree string="Revision Behavior">
|
|
<field name="model_id"/>
|
|
<field name="field_id"/>
|
|
<field name="default_behavior"/>
|
|
</tree>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="view_revision_behavior_form" model="ir.ui.view">
|
|
<field name="name">revision.behavior.form</field>
|
|
<field name="model">revision.behavior</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Revision Behavior">
|
|
<sheet string="Revision Behavior">
|
|
<group>
|
|
<field name="model_id" invisible="1"/>
|
|
<field name="field_id" domain="[('model_id', '=', model_id)]"/>
|
|
<field name="default_behavior"/>
|
|
</group>
|
|
</sheet>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="view_revision_behavior_search" model="ir.ui.view">
|
|
<field name="name">revision.behavior.search</field>
|
|
<field name="model">revision.behavior</field>
|
|
<field name="arch" type="xml">
|
|
<search string="Revision Behavior">
|
|
<field name="model_id"/>
|
|
<field name="field_id"/>
|
|
<field name="default_behavior"/>
|
|
</search>
|
|
</field>
|
|
</record>
|
|
|
|
<record model="ir.actions.act_window" id="action_revision_behavior_view">
|
|
<field name="name">Revision Behavior</field>
|
|
<field name="type">ir.actions.act_window</field>
|
|
<field name="res_model">revision.behavior</field>
|
|
<field name="view_type">form</field>
|
|
<field name="view_mode">tree,form</field>
|
|
<field name="search_view_id" ref="view_revision_behavior_search"/>
|
|
</record>
|
|
|
|
<menuitem id="menu_revision_behavior"
|
|
parent="base.menu_base_config"
|
|
sequence="20"
|
|
action="action_revision_behavior_view"/>
|
|
</data>
|
|
</openerp>
|