#!/usr/bin/env python
# encoding: utf-8


class Table(object):

    def config_db(self, pkg):
        tbl = pkg.table('card', pkey='id', name_long='!!Card',
                        name_plural='!!Cards', caption_field='name')
        self.sysFields(tbl)

        tbl.column('name', name_short='Name',
                   validate_notnull=True, validate_case='c',
                   validate_notnull_error='!!Mandatory field')

        tbl.column('description', name_long='!!Description')
        tbl.column('position', dtype='I', name_long='!!Position')

        tbl.column(
            'list_id', size='22', group='_',
            name_long='!!list id'
            ).relation(
                'list.id', relation_name='card_list',
                mode='foreignkey', onDelete='cascade'
            )

        tbl.column(
            'owner_user_id', size='22', group='_',
            name_long='!!Owner'
            ).relation(
                'adm.user.id', relation_name='card_user',
                mode='foreignkey', onDelete='cascade'
            )
        tbl.aliasColumn('username', relation_path='@owner_user_id.username',
                        name_long='!!Username')

@@ -1167,12 +1167,258 @@
 !Username')%0A
+        tbl.aliasColumn('list_name', relation_path='@list_id.name',%0A                        name_long='!!List Name')%0A        tbl.aliasColumn('list_board_id', relation_path='@list_id.board_id',%0A                        name_long='!!List Board id')%0A

Add usefull alisa column to card model