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.

17 lines
595 B

  1. # Copyright 2016 Eficent Business and IT Consulting Services S.L.
  2. # Copyright 2016 Serpent Consulting Services Pvt. Ltd.
  3. # Copyright 2017 LasLabs Inc.
  4. # Copyright 2018 Tecnativa - Vicent Cubells
  5. # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
  6. from odoo import fields, models
  7. class TrgmIndex(models.Model):
  8. _inherit = 'trgm.index'
  9. # We take advantage of field inheritance to redefine help instead of do
  10. # inheritance in views that throws an error
  11. field_id = fields.Many2one(
  12. help="You can either select a field of type 'text', 'char' or 'html'."
  13. )