from odoo import models, api class MailingList(models.Model): _inherit = "mailing.list" _order = "is_public, name, create_date DESC"