From c77d771d37ab0f8ff960d9a9eee5e6a26129a990 Mon Sep 17 00:00:00 2001 From: Denis Roussel Date: Wed, 18 Dec 2024 11:35:07 +0100 Subject: [PATCH] [FIX] sale_exception: Don't order by main exception As this is breaking the standard behavior, don't order on model side. --- sale_exception/models/sale_order.py | 1 - 1 file changed, 1 deletion(-) diff --git a/sale_exception/models/sale_order.py b/sale_exception/models/sale_order.py index 079f5271976..17387097ee3 100644 --- a/sale_exception/models/sale_order.py +++ b/sale_exception/models/sale_order.py @@ -9,7 +9,6 @@ class SaleOrder(models.Model): _inherit = ["sale.order", "base.exception"] _name = "sale.order" - _order = "main_exception_id asc, date_order desc, name desc" @api.model def _reverse_field(self):