From 0d7d8a09ab397c93122876fba3450bbc92626e7f Mon Sep 17 00:00:00 2001 From: Thibault Francois Date: Mon, 24 Jul 2017 14:07:56 +0200 Subject: [PATCH] [IMP] improve order of cooperative status --- beesdoo_shift/models/cooperative_status.py | 1 + 1 file changed, 1 insertion(+) diff --git a/beesdoo_shift/models/cooperative_status.py b/beesdoo_shift/models/cooperative_status.py index 8ef02a0..e8aea50 100644 --- a/beesdoo_shift/models/cooperative_status.py +++ b/beesdoo_shift/models/cooperative_status.py @@ -29,6 +29,7 @@ class HistoryStatus(models.Model): class CooperativeStatus(models.Model): _name = 'cooperative.status' _rec_name = 'cooperator_id' + _order = 'cooperator_id' today = fields.Date(help="Field that allow to compute field and store them even if they are based on the current date")