X-Git-Url: http://git.cyclocoop.org/?p=burette%2Fvelocampus_nantes.git;a=blobdiff_plain;f=velocampus_nantes.py;fp=velocampus_nantes.py;h=38c221d9dd4544a3c7dc2ce6b1185226aca6c2b4;hp=0000000000000000000000000000000000000000;hb=3b80bcf52146ecc6ac6cb3e72c357dc8a129ddb2;hpb=b3b3b7d8c001c62ab931211ae2518765e047cbb2 diff --git a/velocampus_nantes.py b/velocampus_nantes.py new file mode 100644 index 0000000..38c221d --- /dev/null +++ b/velocampus_nantes.py @@ -0,0 +1,45 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# velocampus_nantes module for OpenERP, Vélocampus Nantes specifities +# Copyright (C) 2013-2015 Vélocampus Nantes () +# +# This file is a part of velocampus_nantes +# +# velocampus_nantes module 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. +# +# velocampus_nantes module 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 . +# +############################################################################## + +from openerp.osv import fields, osv + + +class Partner(osv.osv): + _inherit = 'res.partner' + + _columns = { + 'crous': fields.boolean('Logement CROUS?'), + 'highschool_years': fields.selection([('1', '1'), + ('2', '2'), + ('3', '3'), + ('4', '4'), + ('5', '5'), + ('6', '6'), + ('7', '7'), + ('8', '8'), + ('9', '9')], 'Highschool years'), + 'is_volunteer': fields.boolean('Is volunteer'), + } + + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: