Browse Source

Clarified help and description of module

pull/19/head
Sandy Carter 11 years ago
parent
commit
3563cef61c
  1. 2
      res_bank_account/__init__.py
  2. 12
      res_bank_account/__openerp__.py
  3. 22
      res_bank_account/res_bank.py

2
res_bank_account/__init__.py

@ -21,5 +21,3 @@
##############################################################################
from . import res_bank
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

12
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
# (<http://www.savoirfairelinux.com>).
#
# 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:

22
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
# (<http://www.savoirfairelinux.com>).
#
# 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:
Loading…
Cancel
Save