|
|
@ -7,21 +7,7 @@ |
|
|
|
<field name="arch" type="xml"> |
|
|
|
<form string="Object"> |
|
|
|
<sheet> |
|
|
|
<div class="oe_title"> |
|
|
|
<label for="name" class="oe_edit_only"/> |
|
|
|
<h1> |
|
|
|
<field name="name" required="1"/> |
|
|
|
</h1> |
|
|
|
<group> |
|
|
|
<group> |
|
|
|
<field name="model_id" required="1" attrs="{'readonly':[('ref_ir_act_window_id','!=',False)]}"/> |
|
|
|
</group> |
|
|
|
<group> |
|
|
|
<field name="model_list" invisible="1"/> |
|
|
|
</group> |
|
|
|
</group> |
|
|
|
</div> |
|
|
|
<div class="oe_right oe_button_box" name="buttons"> |
|
|
|
<div class="oe_button_box" name="buttons"> |
|
|
|
<field name="ref_ir_act_window_id" invisible="1"/> |
|
|
|
<button name="create_action" |
|
|
|
type="object" |
|
|
@ -38,6 +24,20 @@ |
|
|
|
help="Remove the contextual action to use this template on related documents" |
|
|
|
widget="statinfo"/> |
|
|
|
</div> |
|
|
|
<div class="oe_title"> |
|
|
|
<label for="name" class="oe_edit_only"/> |
|
|
|
<h1> |
|
|
|
<field name="name" required="1"/> |
|
|
|
</h1> |
|
|
|
</div> |
|
|
|
<group> |
|
|
|
<group> |
|
|
|
<field name="model_id" required="1" attrs="{'readonly':[('ref_ir_act_window_id','!=',False)]}"/> |
|
|
|
</group> |
|
|
|
<group> |
|
|
|
<field name="model_list" invisible="1"/> |
|
|
|
</group> |
|
|
|
</group> |
|
|
|
<notebook colspan="4"> |
|
|
|
<page string="Fields"> |
|
|
|
<field name="field_ids" colspan="4" nolabel="1" |
|
|
|