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.
 
 
 

56 lines
2.6 KiB

<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2016-Today GRAP (http://www.grap.coop)
@author: Sylvain LE GAL (https://twitter.com/legalsylvain)
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-->
<openerp><data>
<record id="view_mass_sort_config_form" model="ir.ui.view">
<field name="model">mass.sort.config</field>
<field name="arch" type="xml">
<form string="Mass Sorting" version="7.0">
<sheet>
<div class="oe_title">
<div class="oe_edit_only"><label for="name"/></div>
<h1><field name="name"/></h1>
</div>
<group col="4">
<field name="model_id"/>
<field name="one2many_field_id" on_change="on_change_one2many_field_id(one2many_field_id)"/>
<field name="ref_ir_act_window" attrs="{'invisible':[('ref_ir_act_window','=',False)]}"/>
<field name="ref_ir_value" attrs="{'invisible':[('ref_ir_act_window','=',False)]}"/>
<button name="create_action" string="Add sidebar button" type="object" icon="gtk-execute"
colspan="2" attrs="{'invisible':[('ref_ir_act_window','!=',False)]}"
help="Display a button in the sidebar of related model to open a wizard"/>
<button name="unlink_action" string="Remove sidebar button" type="object" icon="gtk-delete"
attrs="{'invisible':[('ref_ir_act_window','=',False)]}" colspan="2" />
<field name="allow_custom_setting"/>
</group>
<group>
<field name="line_ids" colspan="4" nolabel="1">
<tree editable="bottom">
<field name="sequence" widget="handle"/>
<field name="field_id"/>
<field name="desc"/>
</tree>
</field>
<field name="one2many_model" invisible="1"/>
</group>
</sheet>
</form>
</field>
</record>
<record id="view_mass_sort_config_tree" model="ir.ui.view">
<field name="model">mass.sort.config</field>
<field name="arch" type="xml">
<tree string="Mass Sorting">
<field name="name"/>
<field name="model_id"/>
</tree>
</field>
</record>
</data></openerp>