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")