[MODULE] ~comment sequence field for theme. Need to be char type
authorLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Mon, 4 Jan 2016 14:41:08 +0000 (15:41 +0100)
committerLudovic CHEVALIER <ludovic.chevalier@heureux-cyclage.org>
Mon, 4 Jan 2016 14:41:08 +0000 (15:41 +0100)
bikecoop.py

index 818dbb9..37b920a 100644 (file)
@@ -36,7 +36,7 @@ class Theme(osv.osv):
         'name': fields.char('Name', size=128, help='Name of the job or studies', required=True, translate=True),
         'domain': fields.selection([('gender', 'Gender'), ('occupation', 'Occupation'), ('volunteer', 'Volunteer')], 'Domain', required=True, size=24),
         'active': fields.boolean('Active', help='If check, this object is always available'),
-        'sequence': fields.integer('Sequence', help='To order by sequence'),
+        'sequence': fields.integer('Sequence', help='To order by sequence'), #Convert to char field
     }
 
     _defaults = {