1
# -*- coding: utf-8 -*-
4
# -*- encoding: utf-8 -*-
5
##############################################
7
# ChriCar Beteiligungs- und Beratungs- GmbH
8
# Copyright (C) ChriCar Beteiligungs- und Beratungs- GmbH
10
# created 2009-10-17 12:10:57+02
12
# WARNING: This program as such is intended to be used by professional
13
# programmers who take the whole responsability of assessing all potential
14
# consequences resulting from its eventual inadequacies and bugs.
15
# End users who are looking for a ready-to-use solution with commercial
16
# garantees and support are strongly adviced to contract a Free Software
19
# This program is Free Software; you can redistribute it and/or
20
# modify it under the terms of the GNU General Public License
21
# as published by the Free Software Foundation; either version 3
22
# of the License, or (at your option) any later version.
24
# This program is distributed in the hope that it will be useful,
25
# but WITHOUT ANY WARRANTY; without even the implied warranty of
26
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27
# GNU General Public License for more details.
29
# You should have received a copy of the GNU General Public License
30
# along with this program; if not, see <http://www.gnu.org/licenses/> or
31
# write to the Free Software Foundation, Inc.,
32
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
34
###############################################
36
from osv import fields,osv
39
class chricar_account_move_import_deny(osv.osv):
40
_name = "chricar.account_move_import_deny"
43
'company_id' : fields.many2one('res.company', 'Company'),
44
'name' : fields.char ('Voucher', size=16, required=True),
45
'code' : fields.char ('Code', size=8),
46
'date_start' : fields.date ('Date Start'),
47
'date_stop' : fields.date ('Date Stop'),
52
chricar_account_move_import_deny()
54
class chricar_account_tax_code_deloitte(osv.osv):
55
_name = "chricar.account_tax_code_deloitte"
58
'company_id' : fields.many2one('res.company', 'Company'),
59
'name' : fields.char ('Tax Name', size=32, required=True),
60
'code' : fields.char ('Code', size=8, required=True),
61
'account_id' : fields.many2one('account.account','Tax Account',required=True),
62
'percent' : fields.float ('Percent', digits=(8,4), required=True, help=""),
65
chricar_account_tax_code_deloitte()
67
class chricar_account_opening_deloitte(osv.osv):
68
_name = "chricar.account_opening_deloitte"
71
'company_id' : fields.many2one('res.company', 'Company'),
72
'account' : fields.char ('Account', size=8, required=True),
73
'amount' : fields.float ('Amount', required=True, digits=(16,2)),
74
'name' : fields.char ('Account Name', size=64, required=True),
75
'date' : fields.char ('Date', size=16, required=True),
79
chricar_account_opening_deloitte()
82
class chricar_account_move_line_deloitte(osv.osv):
83
_name = "chricar.account_move_line_deloitte"
86
'company_id' : fields.many2one('res.company', 'Company'),
87
'account' : fields.char ('Account', size=8, required=True),
88
'amount' : fields.float ('Amount', required=True, digits=(16,2)),
89
'analytic_account' : fields.char ('Analytic Account', size=8),
90
'ba' : fields.char ('BA', size=8),
91
'bc' : fields.char ('BC', size=8),
92
'counter_account' : fields.char ('Counter Account', size=8),
93
'date' : fields.char ('Date', size=16, required=True),
94
'description' : fields.char ('text', size=128),
95
'fix' : fields.char ('Fix', size=8),
96
'fnr' : fields.char ('FNR', size=8),
97
'lc' : fields.char ('LC', size=8),
98
'name' : fields.char ('Voucher', size=16, required=True),
99
'symbol' : fields.char ('Symbol', size=8),
100
'tax_code' : fields.char ('Tax Code', size=8),
103
'company_id': lambda self,cr,uid,c: self.pool.get('res.users').browse(cr, uid, uid, c).company_id.id,
106
chricar_account_move_line_deloitte()