Browse Source

# Please enter the commit message for your changes. Lines starting

pull/621/head
Nicolas Mac Rouillon 8 years ago
parent
commit
1481d5eb8f
  1. 28
      base_name_search_improved/views/ir_model.xml

28
base_name_search_improved/views/ir_model.xml

@ -3,23 +3,19 @@
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<openerp>
<data>
<record id="view_model_form" model="ir.ui.view">
<field name="name">Add Name Searchable to Models</field>
<field name="model">ir.model</field>
<field name="inherit_id" ref="base.view_model_form"/>
<field name="arch" type="xml">
<field name="state" position="after">
<field name="name_search_ids"
widget="many2many_tags"
domain="[('model_id', '=', id)]"
/>
<record id="view_model_form" model="ir.ui.view">
<field name="name">Add Name Searchable to Models</field>
<field name="model">ir.model</field>
<field name="inherit_id" ref="base.view_model_form"/>
<field name="arch" type="xml">
<field name="state" position="after">
<field name="name_search_ids"
widget="many2many_tags"
domain="[('model_id', '=', id)]"
/>
</field>
</field>
</record>
</field>
</record>
</data>
</openerp>
Loading…
Cancel
Save