~account-report-core-editor/account-financial-report/6.0-git

« back to all changes in this revision

Viewing changes to account_financial_report/model/res_company.py

  • Committer: Humberto Arocha
  • Date: 2014-05-16 13:19:12 UTC
  • Revision ID: git-v1:4f81ffa98c24f7eee85a30b0ec0af591f0e11925
[MERGE] Raw Backporting From V7

Show diffs side-by-side

added added

removed removed

Lines of Context:
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
#############################################################################
21
21
#
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
##########################################################################
25
25
 
26
26
from osv import osv
27
27
from osv import fields
28
28
from tools.translate import _
29
29
 
 
30
 
30
31
class res_company(osv.osv):
31
32
    _inherit = 'res.company'
32
33
    _columns = {
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'),
41
42
    }
42
43
res_company()