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.

21 lines
698 B

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright 2016 Daniel Reis
  3. License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
  4. <odoo>
  5. <record id="view_model_form" model="ir.ui.view">
  6. <field name="name">Add Name Searchable to Models</field>
  7. <field name="model">ir.model</field>
  8. <field name="inherit_id" ref="base.view_model_form"/>
  9. <field name="arch" type="xml">
  10. <field name="state" position="after">
  11. <field name="name_search_ids"
  12. widget="many2many_tags"
  13. domain="[('model_id', '=', id)]"
  14. />
  15. </field>
  16. </field>
  17. </record>
  18. </odoo>