diff --git a/res_bank_account/__init__.py b/res_bank_account/__init__.py index 174f8da73..a28cd2f14 100644 --- a/res_bank_account/__init__.py +++ b/res_bank_account/__init__.py @@ -21,5 +21,3 @@ ############################################################################## from . import res_bank - -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/res_bank_account/__openerp__.py b/res_bank_account/__openerp__.py index 8fbeaa0d8..0a0d2ba7c 100644 --- a/res_bank_account/__openerp__.py +++ b/res_bank_account/__openerp__.py @@ -2,7 +2,7 @@ ############################################################################## # # OpenERP, Open Source Management Solution -# This module copyright (C) 2013 Savoir-faire Linux +# This module copyright (C) 2010 - 2014 Savoir-faire Linux # (). # # This program is free software: you can redistribute it and/or modify @@ -26,11 +26,16 @@ 'author': 'Savoir-faire Linux', 'maintainer': 'Savoir-faire Linux', 'website': 'http://www.savoirfairelinux.com', - 'category': 'MISC', + 'category': 'Customer Relationship Management', 'description': """ Bank Account ============ +This module allows to manage multiple bank accounts for a specific contact. + +It adds a bank account object linked to a bank with a name for the account, a +description and wheter it is active or not. + Contributors ------------ @@ -46,7 +51,4 @@ Contributors 'demo': [], 'test': [], 'installable': True, - 'active': False, } - -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/res_bank_account/res_bank.py b/res_bank_account/res_bank.py index cbac52f60..0e3ee7ae1 100644 --- a/res_bank_account/res_bank.py +++ b/res_bank_account/res_bank.py @@ -2,7 +2,7 @@ ############################################################################## # # OpenERP, Open Source Management Solution -# This module copyright (C) 2013 Savoir-faire Linux +# This module copyright (C) 2010 - 2014 Savoir-faire Linux # (). # # This program is free software: you can redistribute it and/or modify @@ -24,13 +24,19 @@ from openerp.osv import orm, fields class res_partner_bank(orm.Model): + """Bank account""" _inherit = 'res.partner.bank' - _columns = { - 'title_bank_account': fields.char('Title bank account', size=256, - help="Title bank account."), - 'observation': fields.text('Observation', help="Observation."), - 'active': fields.boolean('Active', help="Active/Inactive."), + 'title_bank_account': fields.char( + 'Title bank account', + help="Name for the bank account.", + ), + 'observation': fields.text( + 'Observation', + help="Extra information about the account.", + ), + 'active': fields.boolean( + 'Active', + help="Whether the account is still active or not." + ), } - -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: