1 # -*- coding: utf-8 -*-
2 ##############################################################################
4 # velocampus_nantes module for OpenERP, Vélocampus Nantes specifities
5 # Copyright (C) 2013-2015 Vélocampus Nantes (<http://www.velocampus.net/>)
7 # This file is a part of velocampus_nantes
9 # velocampus_nantes module is free software: you can redistribute it and/or
10 # modify it under the terms of the GNU General Public License as published
11 # by the Free Software Foundation, either version 3 of the License, or
12 # (at your option) any later version.
14 # velocampus_nantes module is distributed in the hope that it will be
15 # useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
17 # Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with this program. If not, see <http://www.gnu.org/licenses/>.
22 ##############################################################################
24 from openerp
.osv
import fields
, osv
27 class Partner(osv
.osv
):
28 _inherit
= 'res.partner'
31 'crous': fields
.boolean('Logement CROUS?'),
32 'highschool_years': fields
.selection([('1', '1'),
40 ('9', '9')], 'Highschool years'),
41 'is_volunteer': fields
.boolean('Is volunteer'),
45 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: