sur l'ordre de tri c'est moins date de début ASC
This commit is contained in:
parent
67c875e987
commit
545749ac50
@ -10,7 +10,7 @@ class Event(models.Model):
|
||||
""" Event model """
|
||||
_name = 'coworking.event'
|
||||
_description = 'Event model definition'
|
||||
_order = 'id desc'
|
||||
_order = 'id asc'
|
||||
|
||||
name = fields.Char('Title', required=True)
|
||||
manager_id = fields.Many2one('coworking.coworker', 'Manager', index=True, required=True,
|
||||
|
@ -34,7 +34,7 @@
|
||||
<field name="name">event Tree</field>
|
||||
<field name="model">coworking.event</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree default_order="date_start desc, name asc">
|
||||
<tree default_order="date_start asc">
|
||||
<field name="name" />
|
||||
<field name="manager_id" />
|
||||
<field name="date_start" />
|
||||
|
Loading…
Reference in New Issue
Block a user