Three supported types: - btree (default for index=True) - btree not null (when >90% of the data are null) - gin trigram search (for char fields) Review of indexes on all objects. closes odoo/odoo#83015 Signed-off-by: Fabien Pinckaers <fp@odoo.com>
11 lines
292 B
Python
11 lines
292 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class MailMail(models.Model):
|
|
_inherit = 'mail.mail'
|
|
|
|
fetchmail_server_id = fields.Many2one('fetchmail.server', "Inbound Mail Server", readonly=True)
|