From 0836aacc98da2d735e2ab110ab67a1684c4f118f Mon Sep 17 00:00:00 2001 From: RemiFr82 Date: Thu, 30 May 2024 00:16:06 +0200 Subject: [PATCH] [IMP] mailing list _order --- crock_mass_mailing/models/mailing_list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crock_mass_mailing/models/mailing_list.py b/crock_mass_mailing/models/mailing_list.py index 12342e7..b82c9ee 100644 --- a/crock_mass_mailing/models/mailing_list.py +++ b/crock_mass_mailing/models/mailing_list.py @@ -3,4 +3,4 @@ from odoo import models, api class MailingList(models.Model): _inherit = "mailing.list" - _order = "name, create_date DESC" + _order = "is_public, name, create_date DESC"