Modification ordre de tri des containers
authorAlicia FLOREZ <alicflorez@gmail.com>
Wed, 20 Mar 2013 10:33:42 +0000 (11:33 +0100)
committerAlicia FLOREZ <alicflorez@gmail.com>
Wed, 20 Mar 2013 10:33:42 +0000 (11:33 +0100)
todolist.py

index 44061c4..5a40890 100644 (file)
@@ -73,6 +73,8 @@ class Container(osv.Model):
         ),
     ]
 
+    _order = "name"
+
     def action_start(self, cr, uid, ids, context=None):
         self.write(cr, uid, ids, {"state": "pending"}, context=context)
         return self