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.

27 lines
1.1 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record model="ir.ui.view" id="trgm_index_view_form">
  4. <field name="name">trgm.index.view.form</field>
  5. <field name="model">trgm.index</field>
  6. <field name="inherit_id" ref="base_search_fuzzy.trgm_index_view_form"/>
  7. <field name="arch" type="xml">
  8. <field name="field_id" position="attributes">
  9. <attribute name="domain">[('ttype', 'in', ['char', 'text', 'html'])]</attribute>
  10. <attribute name="help">"You can either select a field of type 'text', 'char' or 'html'."</attribute>
  11. </field>
  12. </field>
  13. </record>
  14. <record model="ir.ui.view" id="trgm_index_view_tree">
  15. <field name="name">trgm.index.view.tree</field>
  16. <field name="model">trgm.index</field>
  17. <field name="inherit_id" ref="base_search_fuzzy.trgm_index_view_tree"/>
  18. <field name="arch" type="xml">
  19. <field name="field_id" position="attributes">
  20. <attribute name="help">"You can either select a field of type 'text', 'char' or 'html'."</attribute>
  21. </field>
  22. </field>
  23. </record>
  24. </odoo>