I define stages of kanban view by selection field, like this:
state = fields.Selection([ (\'draft\', \'Draft\'), (\'open\', \'Open\'), (\'pending\', \