diff --git a/res_bank_account/__init__.py b/res_bank_account/__init__.py new file mode 100644 index 000000000..174f8da73 --- /dev/null +++ b/res_bank_account/__init__.py @@ -0,0 +1,25 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# This module copyright (C) 2013 Savoir-faire Linux +# (). +# +# 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 . 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 new file mode 100644 index 000000000..8fbeaa0d8 --- /dev/null +++ b/res_bank_account/__openerp__.py @@ -0,0 +1,52 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# This module copyright (C) 2013 Savoir-faire Linux +# (). +# +# 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 . +# +############################################################################## + +{ + 'name': 'Bank Account', + 'version': '0.1', + 'author': 'Savoir-faire Linux', + 'maintainer': 'Savoir-faire Linux', + 'website': 'http://www.savoirfairelinux.com', + 'category': 'MISC', + 'description': """ +Bank Account +============ + + +Contributors +------------ +* El Hadji Dem (elhadji.dem@savoirfairelinux.com) +""", + 'depends': [ + 'account', + ], + 'external_dependencies': {}, + 'data': [ + 'res_bank_view.xml', + ], + 'demo': [], + 'test': [], + 'installable': True, + 'active': False, +} + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/res_bank_account/i18n/fr.po b/res_bank_account/i18n/fr.po new file mode 100644 index 000000000..3d9123ce8 --- /dev/null +++ b/res_bank_account/i18n/fr.po @@ -0,0 +1,52 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * res_bank_account +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 7.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2014-01-03 07:26+0000\n" +"PO-Revision-Date: 2014-01-03 02:26-0500\n" +"Last-Translator: EL Hadji DEM \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: \n" +"X-Generator: Poedit 1.5.4\n" + +#. module: res_bank_account +#: field:res.partner.bank,observation:0 +msgid "Observation" +msgstr "Remarque" + +#. module: res_bank_account +#: help:res.partner.bank,active:0 +msgid "Active/Inactive." +msgstr "Actif/Inactif." + +#. module: res_bank_account +#: model:ir.model,name:res_bank_account.model_res_partner_bank +msgid "Bank Accounts" +msgstr "Comptes bancaires" + +#. module: res_bank_account +#: help:res.partner.bank,observation:0 +msgid "Observation." +msgstr "Remarque." + +#. module: res_bank_account +#: field:res.partner.bank,title_bank_account:0 +msgid "Title bank account" +msgstr "Intitulé du compte bancaire" + +#. module: res_bank_account +#: field:res.partner.bank,active:0 +msgid "Active" +msgstr "Active" + +#. module: res_bank_account +#: help:res.partner.bank,title_bank_account:0 +msgid "Title bank account." +msgstr "Intitulé du compte bancaire." diff --git a/res_bank_account/i18n/res_bank_account.pot b/res_bank_account/i18n/res_bank_account.pot new file mode 100644 index 000000000..657334f84 --- /dev/null +++ b/res_bank_account/i18n/res_bank_account.pot @@ -0,0 +1,52 @@ +# Translation of OpenERP Server. +# This file contains the translation of the following modules: +# * res_bank_account +# +msgid "" +msgstr "" +"Project-Id-Version: OpenERP Server 7.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2014-01-03 07:25+0000\n" +"PO-Revision-Date: 2014-01-03 02:25-0500\n" +"Last-Translator: EL Hadji DEM \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: \n" +"X-Generator: Poedit 1.5.4\n" + +#. module: res_bank_account +#: field:res.partner.bank,observation:0 +msgid "Observation" +msgstr "" + +#. module: res_bank_account +#: help:res.partner.bank,active:0 +msgid "Active/Inactive." +msgstr "" + +#. module: res_bank_account +#: model:ir.model,name:res_bank_account.model_res_partner_bank +msgid "Bank Accounts" +msgstr "" + +#. module: res_bank_account +#: help:res.partner.bank,observation:0 +msgid "Observation." +msgstr "" + +#. module: res_bank_account +#: field:res.partner.bank,title_bank_account:0 +msgid "Title bank account" +msgstr "" + +#. module: res_bank_account +#: field:res.partner.bank,active:0 +msgid "Active" +msgstr "" + +#. module: res_bank_account +#: help:res.partner.bank,title_bank_account:0 +msgid "Title bank account." +msgstr "" diff --git a/res_bank_account/res_bank.py b/res_bank_account/res_bank.py new file mode 100644 index 000000000..cbac52f60 --- /dev/null +++ b/res_bank_account/res_bank.py @@ -0,0 +1,36 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# This module copyright (C) 2013 Savoir-faire Linux +# (). +# +# 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 openerp.osv import orm, fields + + +class res_partner_bank(orm.Model): + _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."), + } + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/res_bank_account/res_bank_view.xml b/res_bank_account/res_bank_view.xml new file mode 100644 index 000000000..e75113452 --- /dev/null +++ b/res_bank_account/res_bank_view.xml @@ -0,0 +1,61 @@ + + + + + + + res.partner.bank.inherit.add.form + res.partner.bank + + + + + + + + + + + + + + + + + + + res.partner.bank.inherit.active.tree + res.partner.bank + + + + + + + + + + + res.partner.property.bank.inherit.bank.form + res.partner + + + + + + + + + + + + + + + + + + +