[VIEW] ~tuning
[burette/ptitvelo.git] / ptitvelo.py
1 # -*- coding: utf-8 -*-
2 ##############################################################################
3 #
4 # ptitvelo module for OpenERP, uN p'Tit véLo dAnS La Tête specificities
5 # Copyright (C) 2012-2014 uN p'Tit véLo dAnS La Tête (<http://www.ptitvelo.net>)
6 #
7 # This file is a part of ptitvelo
8 #
9 # ptitvelo is free software: you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation, either version 3 of the License, or
12 # (at your option) any later version.
13 #
14 # ptitvelo is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
18 #
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/>.
21 #
22 ##############################################################################
23
24 from openerp.osv import osv
25 from openerp.osv import fields
26
27 class res_parner(osv.osv):
28 _inherit = 'res.partner'
29
30 _columns = {
31 'welcome_email': fields.boolean('I wan\'t to receive the welcome email.'),
32 }
33
34 res_parner()
35
36
37 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: