class table_item: _name = 'item' sql_str_list = [ fields.char('name', required=True), fields.many2one('part', 'part', required=True), ]
class table_seq: _name = 'table_seq' no_id = True sql_str_list = [ fields.char('table_name', required=True), ]
class table_part: _name = 'part' sql_str_list = [ fields.char('name', required=True), fields.many2one('user', 'user', required=True), ]
class table: _name = 'people2' sql_str_list = [ fields.char('name', required=True), fields.integer('age'), ]