X-Git-Url: http://git.cyclocoop.org/?p=burette%2Fbretzselle.git;a=blobdiff_plain;f=hr_expense.py;fp=hr_expense.py;h=a8f55312b513c479dc3428f6a85dc5893723a4fd;hp=0000000000000000000000000000000000000000;hb=e88ef2a7d727dde797bd3d20856e2b1b0d91253d;hpb=b70a81ceef914632bbbb17d8eccf8f208f172075 diff --git a/hr_expense.py b/hr_expense.py new file mode 100644 index 0000000..a8f5531 --- /dev/null +++ b/hr_expense.py @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# bretzselle module for OpenERP, Customise OpenERP for Bretz'Selle +# Copyright (C) 2014-2016 Bretz'Selle () +# +# This file is a part of bretzselle +# +# bretzselle 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. +# +# bretzselle 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 orm +from openerp.osv import fields + + +class hr_expense_expense(orm.Model): + _inherit = 'hr.expense.expense' + + _defaults = { + 'date': False, + } + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: