[PYTHON][VIEW][TRANS] +newsletter field
[burette/bretzselle.git] / account_voucher.py
1 # -*- coding: utf-8 -*-
2 ##############################################################################
3 #
4 # bretzselle module for OpenERP, Customise OpenERP for Bretz'Selle
5 # Copyright (C) 2014-2016 Bretz'Selle (<http://bretzselle.org>)
6 #
7 # This file is a part of bretzselle
8 #
9 # bretzselle 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 # bretzselle 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 orm
26 from openerp.osv import fields
27
28 class account_voucher(orm.Model):
29 _inherit = 'account.voucher'
30
31 _defaults = {
32 'date': False,
33 'journal_id': False,
34 'period_id': False,
35 }
36
37 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: