2020-10-01 09:50:51 +02:00
|
|
|
# Copyright 2016 ForgeFlow S.L.
|
2018-06-11 18:12:03 +02:00
|
|
|
# Copyright 2016 Serpent Consulting Services Pvt. Ltd.
|
|
|
|
# Copyright 2017 LasLabs Inc.
|
|
|
|
# Copyright 2018 Tecnativa - Vicent Cubells
|
|
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
|
|
|
|
|
|
class TrgmIndex(models.Model):
|
2020-07-09 22:13:40 +02:00
|
|
|
_inherit = "trgm.index"
|
2018-06-11 18:12:03 +02:00
|
|
|
|
|
|
|
# We take advantage of field inheritance to redefine help instead of do
|
|
|
|
# inheritance in views that throws an error
|
|
|
|
field_id = fields.Many2one(
|
|
|
|
help="You can either select a field of type 'text', 'char' or 'html'."
|
|
|
|
)
|