[IMP] project: reordered task kanban state selection.
authorYannick Tivisse <yti@odoo.com>
Wed, 10 Sep 2014 18:43:56 +0000 (20:43 +0200)
committerThibault Delavallée <tde@openerp.com>
Fri, 12 Sep 2014 08:39:14 +0000 (10:39 +0200)
addons/project/project.py

index a093d5c..e278cdd 100644 (file)
@@ -743,7 +743,7 @@ class task(osv.osv):
         'stage_id': fields.many2one('project.task.type', 'Stage', track_visibility='onchange', select=True,
                         domain="[('project_ids', '=', project_id)]", copy=False),
         'categ_ids': fields.many2many('project.category', string='Tags'),
-        'kanban_state': fields.selection([('normal', 'In Progress'),('blocked', 'Blocked'),('done', 'Ready for next stage')], 'Kanban State',
+        'kanban_state': fields.selection([('normal', 'In Progress'),('done', 'Ready for next stage'),('blocked', 'Blocked')], 'Kanban State',
                                          track_visibility='onchange',
                                          help="A task's kanban state indicates special situations affecting it:\n"
                                               " * Normal is the default situation\n"