X-Git-Url: http://git.cyclocoop.org/%28?a=blobdiff_plain;f=account_voucher.py;fp=account_voucher.py;h=4ff414b47c3ba4d93a0c8ea18ce261d55f0cc80f;hb=260065176d82e0d97d278b19f971e4325d704ad7;hp=0000000000000000000000000000000000000000;hpb=a6dbb0da04c1d7fd127e2d25d378e12e8510bed0;p=burette%2Fbretzselle.git diff --git a/account_voucher.py b/account_voucher.py new file mode 100644 index 0000000..4ff414b --- /dev/null +++ b/account_voucher.py @@ -0,0 +1,36 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# bretzselle module for OpenERP, Customise OpenERP for Bretz'Selle +# Copyright (C) 2014 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 account_voucher(orm.Model): + _inherit = 'account.voucher' + + _defaults = { + 'date': False, + 'journal_id': False, + } + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: