# -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (C) 2012 OpenERP - Team de Localización Argentina.
# https://launchpad.net/~openerp-l10n-ar-localization
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
from openerp.osv import fields, osv

class wsafip_server(osv.osv):
    _name = "wsafip.server"
    _columns = {
        'name': fields.char('Name', size=64),
        'code': fields.char('Code', size=16),
        'class': fields.selection([('production','Production'),('homologation','Homologation')], 'Class'),
        'url': fields.char('URL', size=512),
    }
wsafip_server()

# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

@@ -1024,16 +1024,430 @@
 .server%22
+%0A%0A    def get_name(self, cr, uid, ids, context=None):%0A        if isinstance(ids, (list, tuple)) and not len(ids):%0A            return %5B%5D%0A        if isinstance(ids, (long, int)):%0A            ids = %5Bids%5D%0A        reads = self.read(cr, uid, ids, %5B'name','class'%5D, context=context)%0A        res = %5B%5D%0A        for record in reads:%0A            res.append(record%5B'id'%5D: %22%7Bname%7D %5B%7Bclass%7D%5D%22.format(record))%0A        return res%0A 
 %0A    _co
@@ -1499,16 +1499,26 @@
  size=64
+, select=1
 ),%0A     
@@ -1555,16 +1555,26 @@
  size=16
+, select=1
 ),%0A     

Move wizard to from chart to new module