diff --git a/account_financial_report/__init__.py b/account_financial_report/__init__.py index 14c22fdf..64829f5d 100644 --- a/account_financial_report/__init__.py +++ b/account_financial_report/__init__.py @@ -25,5 +25,6 @@ # along with this program. If not, see . ############################################################################## +import model import report import wizard diff --git a/account_financial_report/__openerp__.py b/account_financial_report/__openerp__.py index 5937b790..77dbffa3 100644 --- a/account_financial_report/__openerp__.py +++ b/account_financial_report/__openerp__.py @@ -26,9 +26,9 @@ ############################################################################## { "name" : "Common financial reports", - "version" : "1.0", - "author" : "OpenERP Venezuela", - "website" : "http://wiki.openerp.org.ve/", + "version" : "2.0", + "author" : "Vauxoo", + "website" : "http://www.vauxoo.com", "depends" : ["base","account"], "category" : "Localisation/Accounting", "description": """ @@ -40,6 +40,7 @@ "wizard/wizard_report_report.xml", "wizard/account_report_wizard.xml", "view/account_view.xml", + "view/company_view.xml", ], "active": False, "installable": True diff --git a/account_financial_report/model/__init__.py b/account_financial_report/model/__init__.py new file mode 100755 index 00000000..48c4ca46 --- /dev/null +++ b/account_financial_report/model/__init__.py @@ -0,0 +1,26 @@ +#!/usr/bin/python +# -*- encoding: utf-8 -*- +########################################################################### +# Module Writen to OpenERP, Open Source Management Solution +# Copyright (C) OpenERP Venezuela (). +# All Rights Reserved +###############Credits###################################################### +# Coded by: Humberto Arocha +# Planified by: Rafael Silva +# Audited by: Nhomar Hernandez +############################################################################# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +################################################################################ + +import res_company diff --git a/account_financial_report/model/res_company.py b/account_financial_report/model/res_company.py new file mode 100755 index 00000000..2bbb383d --- /dev/null +++ b/account_financial_report/model/res_company.py @@ -0,0 +1,38 @@ +#!/usr/bin/python +# -*- encoding: utf-8 -*- +########################################################################### +# Module Writen to OpenERP, Open Source Management Solution +# Copyright (C) OpenERP Venezuela (). +# All Rights Reserved +###############Credits###################################################### +# Coded by: Humberto Arocha +# Planified by: Rafael Silva +# Audited by: Nhomar Hernandez +############################################################################# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +################################################################################ + +from osv import osv +from osv import fields +from tools.translate import _ + +class res_company(osv.osv): + _inherit = 'res.company' + _columns = { + 'credit_account_ids':fields.many2many('account.account', + 'credit_account_company_rel', + 'company_id', 'account_id', + 'Accounts'), + } +res_company() diff --git a/account_financial_report/view/company_view.xml b/account_financial_report/view/company_view.xml new file mode 100644 index 00000000..08f830e0 --- /dev/null +++ b/account_financial_report/view/company_view.xml @@ -0,0 +1,26 @@ + + + + + res.company.form.inherit + + res.company + form + + + + + + + + + + + + + + + + + +