X-Git-Url: http://git.cyclocoop.org/?p=burette%2Fptitvelo.git;a=blobdiff_plain;f=ptitvelo.py;fp=ptitvelo.py;h=a49a29701748c1b23d5259770f96a4ab3d9e7a9f;hp=0000000000000000000000000000000000000000;hb=efe8ee3e5a4313190cc226bbfcfdc1679f28ef96;hpb=b350990b26b6fe5f99527cf973a073326a8a8aa3 diff --git a/ptitvelo.py b/ptitvelo.py new file mode 100644 index 0000000..a49a297 --- /dev/null +++ b/ptitvelo.py @@ -0,0 +1,37 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# ptitvelo module for OpenERP, uN p'Tit véLo dAnS La Tête specificities +# Copyright (C) 2012-2014 uN p'Tit véLo dAnS La Tête () +# +# This file is a part of ptitvelo +# +# ptitvelo 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. +# +# ptitvelo 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 osv +from openerp.osv import fields + +class res_parner(osv.osv): + _inherit = 'res.partner' + + _columns = { + 'welcome_email': fields.boolean('I wan\'t to receive the welcome email.'), + } + +res_parner() + + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: