Skip to content

Commit

Permalink
[FIX] sale_exception: Don't order by main exception
Browse files Browse the repository at this point in the history
As this is breaking the standard behavior, don't order on model
side.
  • Loading branch information
rousseldenis committed Dec 18, 2024
1 parent 5bd8959 commit c77d771
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sale_exception/models/sale_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit c77d771

Please sign in to comment.