4
4
# Module Writen to OpenERP, Open Source Management Solution
5
5
# Copyright (C) OpenERP Venezuela (<http://openerp.com.ve>).
6
6
# All Rights Reserved
7
###############Credits######################################################
8
# Coded by: Humberto Arocha <hbto@vauxoo.com>
7
# Credits######################################################
8
# Coded by: Humberto Arocha <hbto@vauxoo.com>
9
9
# Planified by: Rafael Silva <rsilvam@vauxoo.com>
10
10
# Audited by: Nhomar Hernandez <nhomar@vauxoo.com>
11
11
#############################################################################
22
22
# You should have received a copy of the GNU Affero General Public License
23
23
# along with this program. If not, see <http://www.gnu.org/licenses/>.
24
################################################################################
24
##########################################################################
26
26
from osv import osv
27
27
from osv import fields
28
28
from tools.translate import _
30
31
class res_company(osv.osv):
31
32
_inherit = 'res.company'
33
'credit_account_ids':fields.many2many('account.account',
34
'credit_account_company_rel',
35
'company_id', 'account_id',
36
'Creditable Accounts'),
37
'debit_account_ids':fields.many2many('account.account',
38
'debit_account_company_rel',
39
'company_id', 'account_id',
40
'Debitable Accounts'),
34
'credit_account_ids': fields.many2many('account.account',
35
'credit_account_company_rel',
36
'company_id', 'account_id',
37
'Creditable Accounts'),
38
'debit_account_ids': fields.many2many('account.account',
39
'debit_account_company_rel',
40
'company_id', 'account_id',
41
'Debitable Accounts'),