From a27b0ae694dcb0c1a441845e3f28787eee4d9b36 Mon Sep 17 00:00:00 2001 From: "Adrien Peiffer (ACSONE)" Date: Wed, 4 Feb 2015 10:06:36 +0100 Subject: [PATCH 1/4] [ADD] Add account_filter_paybale_receivable addons --- account_filter_payable_receivable/README.rst | 44 +++++++++++++++++++ account_filter_payable_receivable/__init__.py | 1 + .../__openerp__.py | 40 +++++++++++++++++ account_filter_payable_receivable/i18n/fr.po | 27 ++++++++++++ .../i18n/fr_BE.po | 27 ++++++++++++ .../views/account_move_line_view.xml | 16 +++++++ 6 files changed, 155 insertions(+) create mode 100644 account_filter_payable_receivable/README.rst create mode 100644 account_filter_payable_receivable/__init__.py create mode 100644 account_filter_payable_receivable/__openerp__.py create mode 100644 account_filter_payable_receivable/i18n/fr.po create mode 100644 account_filter_payable_receivable/i18n/fr_BE.po create mode 100644 account_filter_payable_receivable/views/account_move_line_view.xml diff --git a/account_filter_payable_receivable/README.rst b/account_filter_payable_receivable/README.rst new file mode 100644 index 000000000..b4b2af800 --- /dev/null +++ b/account_filter_payable_receivable/README.rst @@ -0,0 +1,44 @@ +account_filter_payable_receivable +================================= + +This module was written to extend the functionality of search on journal items +to allow you to filter by payable and receivable account + +Installation +============ + +To install this module, you need to: + + * Click on install button + +Usage +===== + +To use this module, you need to: + + * go to Journal Items view and select new filter + +For further information, please visit: + + * https://www.odoo.com/forum/help-1 + + +Credits +======= + +Contributors: + +* Stéphane Bidoul (ACSONE) +* Adrien Peiffer (ACSONE) + +Maintainer: + +.. image:: http://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: http://odoo-community.org + +This module is maintained by the OCA. + +OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. + +To contribute to this module, please visit http://odoo-community.org. \ No newline at end of file diff --git a/account_filter_payable_receivable/__init__.py b/account_filter_payable_receivable/__init__.py new file mode 100644 index 000000000..40a96afc6 --- /dev/null +++ b/account_filter_payable_receivable/__init__.py @@ -0,0 +1 @@ +# -*- coding: utf-8 -*- diff --git a/account_filter_payable_receivable/__openerp__.py b/account_filter_payable_receivable/__openerp__.py new file mode 100644 index 000000000..c26a86fb8 --- /dev/null +++ b/account_filter_payable_receivable/__openerp__.py @@ -0,0 +1,40 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# This file is part of account_filter_payable_receivable, an Odoo module. +# +# Copyright (c) 2015 ACSONE SA/NV () +# +# account_filter_payable_receivable 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. +# +# account_filter_payable_receivable 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 account_filter_payable_receivable. +# If not, see . +# +############################################################################## +{ + 'name': "Account Filter Payable Receivable", + + 'summary': """ + Filter your Journal Items per payable and receivable account""", + 'author': "ACSONE SA/NV", + 'website': "http://acsone.eu", + 'category': 'Accounting & Finance', + 'version': '1.0', + 'license': 'AGPL-3', + 'depends': [ + 'account', + ], + 'data': [ + 'views/account_move_line_view.xml', + ], +} diff --git a/account_filter_payable_receivable/i18n/fr.po b/account_filter_payable_receivable/i18n/fr.po new file mode 100644 index 000000000..f2a69a1a5 --- /dev/null +++ b/account_filter_payable_receivable/i18n/fr.po @@ -0,0 +1,27 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_filter_payable_receivable +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-02-04 08:52+0000\n" +"PO-Revision-Date: 2015-02-04 08:52+0000\n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_filter_payable_receivable +#: view:account.move.line:account_filter_payable_receivable.view_account_move_line_filter_inherit +msgid "Payable Account" +msgstr "Compte fournisseur" + +#. module: account_filter_payable_receivable +#: view:account.move.line:account_filter_payable_receivable.view_account_move_line_filter_inherit +msgid "Receivable Account" +msgstr "Compte client" + diff --git a/account_filter_payable_receivable/i18n/fr_BE.po b/account_filter_payable_receivable/i18n/fr_BE.po new file mode 100644 index 000000000..f2a69a1a5 --- /dev/null +++ b/account_filter_payable_receivable/i18n/fr_BE.po @@ -0,0 +1,27 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * account_filter_payable_receivable +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 8.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-02-04 08:52+0000\n" +"PO-Revision-Date: 2015-02-04 08:52+0000\n" +"Last-Translator: <>\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: account_filter_payable_receivable +#: view:account.move.line:account_filter_payable_receivable.view_account_move_line_filter_inherit +msgid "Payable Account" +msgstr "Compte fournisseur" + +#. module: account_filter_payable_receivable +#: view:account.move.line:account_filter_payable_receivable.view_account_move_line_filter_inherit +msgid "Receivable Account" +msgstr "Compte client" + diff --git a/account_filter_payable_receivable/views/account_move_line_view.xml b/account_filter_payable_receivable/views/account_move_line_view.xml new file mode 100644 index 000000000..945570219 --- /dev/null +++ b/account_filter_payable_receivable/views/account_move_line_view.xml @@ -0,0 +1,16 @@ + + + + + Journal Items (account_filter_payable_receivable) + account.move.line + + + + + + + + + + From be52b7eda04249a6de0d78ea71d3fe94d86c3ffe Mon Sep 17 00:00:00 2001 From: "Adrien Peiffer (ACSONE)" Date: Wed, 4 Feb 2015 13:58:49 +0100 Subject: [PATCH 2/4] [FIX] Replace technical name in README.rst --- account_filter_payable_receivable/README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/account_filter_payable_receivable/README.rst b/account_filter_payable_receivable/README.rst index b4b2af800..2a5a77b6c 100644 --- a/account_filter_payable_receivable/README.rst +++ b/account_filter_payable_receivable/README.rst @@ -1,4 +1,4 @@ -account_filter_payable_receivable +Account Filter Payable Receivable ================================= This module was written to extend the functionality of search on journal items @@ -41,4 +41,4 @@ This module is maintained by the OCA. OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -To contribute to this module, please visit http://odoo-community.org. \ No newline at end of file +To contribute to this module, please visit http://odoo-community.org. From 946278cb33ecec9d7cae5d532235e872ce5cacb5 Mon Sep 17 00:00:00 2001 From: "Adrien Peiffer (ACSONE)" Date: Wed, 4 Feb 2015 14:00:09 +0100 Subject: [PATCH 3/4] [IMP] Add subtitle in README.rst --- account_filter_payable_receivable/README.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/account_filter_payable_receivable/README.rst b/account_filter_payable_receivable/README.rst index 2a5a77b6c..951005e82 100644 --- a/account_filter_payable_receivable/README.rst +++ b/account_filter_payable_receivable/README.rst @@ -27,11 +27,13 @@ Credits ======= Contributors: +------------- * Stéphane Bidoul (ACSONE) * Adrien Peiffer (ACSONE) Maintainer: +----------- .. image:: http://odoo-community.org/logo.png :alt: Odoo Community Association From bd1bdac8280609d3e35c306ac435105fc9082008 Mon Sep 17 00:00:00 2001 From: "Adrien Peiffer (ACSONE)" Date: Wed, 4 Feb 2015 15:31:08 +0100 Subject: [PATCH 4/4] [IMP] Rename to account_move_line_payable_receivable_filter --- .../__openerp__.py | 40 ------------------ .../README.rst | 4 +- .../__init__.py | 0 .../__openerp__.py | 41 +++++++++++++++++++ .../i18n/fr.po | 10 ++--- .../i18n/fr_BE.po | 10 ++--- .../views/account_move_line_view.xml | 2 +- 7 files changed, 54 insertions(+), 53 deletions(-) delete mode 100644 account_filter_payable_receivable/__openerp__.py rename {account_filter_payable_receivable => account_move_line_payable_receivable_filter}/README.rst (91%) rename {account_filter_payable_receivable => account_move_line_payable_receivable_filter}/__init__.py (100%) create mode 100644 account_move_line_payable_receivable_filter/__openerp__.py rename {account_filter_payable_receivable => account_move_line_payable_receivable_filter}/i18n/fr.po (58%) rename {account_filter_payable_receivable => account_move_line_payable_receivable_filter}/i18n/fr_BE.po (58%) rename {account_filter_payable_receivable => account_move_line_payable_receivable_filter}/views/account_move_line_view.xml (87%) diff --git a/account_filter_payable_receivable/__openerp__.py b/account_filter_payable_receivable/__openerp__.py deleted file mode 100644 index c26a86fb8..000000000 --- a/account_filter_payable_receivable/__openerp__.py +++ /dev/null @@ -1,40 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# This file is part of account_filter_payable_receivable, an Odoo module. -# -# Copyright (c) 2015 ACSONE SA/NV () -# -# account_filter_payable_receivable 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. -# -# account_filter_payable_receivable 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 account_filter_payable_receivable. -# If not, see . -# -############################################################################## -{ - 'name': "Account Filter Payable Receivable", - - 'summary': """ - Filter your Journal Items per payable and receivable account""", - 'author': "ACSONE SA/NV", - 'website': "http://acsone.eu", - 'category': 'Accounting & Finance', - 'version': '1.0', - 'license': 'AGPL-3', - 'depends': [ - 'account', - ], - 'data': [ - 'views/account_move_line_view.xml', - ], -} diff --git a/account_filter_payable_receivable/README.rst b/account_move_line_payable_receivable_filter/README.rst similarity index 91% rename from account_filter_payable_receivable/README.rst rename to account_move_line_payable_receivable_filter/README.rst index 951005e82..36e855448 100644 --- a/account_filter_payable_receivable/README.rst +++ b/account_move_line_payable_receivable_filter/README.rst @@ -1,5 +1,5 @@ -Account Filter Payable Receivable -================================= +Account Move Line Payable Receivable Filter +=========================================== This module was written to extend the functionality of search on journal items to allow you to filter by payable and receivable account diff --git a/account_filter_payable_receivable/__init__.py b/account_move_line_payable_receivable_filter/__init__.py similarity index 100% rename from account_filter_payable_receivable/__init__.py rename to account_move_line_payable_receivable_filter/__init__.py diff --git a/account_move_line_payable_receivable_filter/__openerp__.py b/account_move_line_payable_receivable_filter/__openerp__.py new file mode 100644 index 000000000..c11210afc --- /dev/null +++ b/account_move_line_payable_receivable_filter/__openerp__.py @@ -0,0 +1,41 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# This file is part of account_move_line_payable_receivable_filter, an +# Odoo module. +# +# Copyright (c) 2015 ACSONE SA/NV () +# +# account_move_line_payable_receivable_filter 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. +# +# account_move_line_payable_receivable_filter 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 account_move_line_payable_receivable_filter. +# If not, see . +# +############################################################################## +{ + 'name': "Account Move Line Payable Receivable Filter", + + 'summary': """ + Filter your Journal Items per payable and receivable account""", + 'author': "ACSONE SA/NV", + 'website': "http://acsone.eu", + 'category': 'Accounting & Finance', + 'version': '1.0', + 'license': 'AGPL-3', + 'depends': [ + 'account', + ], + 'data': [ + 'views/account_move_line_view.xml', + ], +} diff --git a/account_filter_payable_receivable/i18n/fr.po b/account_move_line_payable_receivable_filter/i18n/fr.po similarity index 58% rename from account_filter_payable_receivable/i18n/fr.po rename to account_move_line_payable_receivable_filter/i18n/fr.po index f2a69a1a5..35819154b 100644 --- a/account_filter_payable_receivable/i18n/fr.po +++ b/account_move_line_payable_receivable_filter/i18n/fr.po @@ -1,6 +1,6 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * account_filter_payable_receivable +# * account_move_line_payable_receivable_filter # msgid "" msgstr "" @@ -15,13 +15,13 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" -#. module: account_filter_payable_receivable -#: view:account.move.line:account_filter_payable_receivable.view_account_move_line_filter_inherit +#. module: account_move_line_payable_receivable_filter +#: view:account.move.line:account_move_line_payable_receivable_filter.view_account_move_line_filter_inherit msgid "Payable Account" msgstr "Compte fournisseur" -#. module: account_filter_payable_receivable -#: view:account.move.line:account_filter_payable_receivable.view_account_move_line_filter_inherit +#. module: account_move_line_payable_receivable_filter +#: view:account.move.line:account_move_line_payable_receivable_filter.view_account_move_line_filter_inherit msgid "Receivable Account" msgstr "Compte client" diff --git a/account_filter_payable_receivable/i18n/fr_BE.po b/account_move_line_payable_receivable_filter/i18n/fr_BE.po similarity index 58% rename from account_filter_payable_receivable/i18n/fr_BE.po rename to account_move_line_payable_receivable_filter/i18n/fr_BE.po index f2a69a1a5..35819154b 100644 --- a/account_filter_payable_receivable/i18n/fr_BE.po +++ b/account_move_line_payable_receivable_filter/i18n/fr_BE.po @@ -1,6 +1,6 @@ # Translation of Odoo Server. # This file contains the translation of the following modules: -# * account_filter_payable_receivable +# * account_move_line_payable_receivable_filter # msgid "" msgstr "" @@ -15,13 +15,13 @@ msgstr "" "Content-Transfer-Encoding: \n" "Plural-Forms: \n" -#. module: account_filter_payable_receivable -#: view:account.move.line:account_filter_payable_receivable.view_account_move_line_filter_inherit +#. module: account_move_line_payable_receivable_filter +#: view:account.move.line:account_move_line_payable_receivable_filter.view_account_move_line_filter_inherit msgid "Payable Account" msgstr "Compte fournisseur" -#. module: account_filter_payable_receivable -#: view:account.move.line:account_filter_payable_receivable.view_account_move_line_filter_inherit +#. module: account_move_line_payable_receivable_filter +#: view:account.move.line:account_move_line_payable_receivable_filter.view_account_move_line_filter_inherit msgid "Receivable Account" msgstr "Compte client" diff --git a/account_filter_payable_receivable/views/account_move_line_view.xml b/account_move_line_payable_receivable_filter/views/account_move_line_view.xml similarity index 87% rename from account_filter_payable_receivable/views/account_move_line_view.xml rename to account_move_line_payable_receivable_filter/views/account_move_line_view.xml index 945570219..943c3d4bb 100644 --- a/account_filter_payable_receivable/views/account_move_line_view.xml +++ b/account_move_line_payable_receivable_filter/views/account_move_line_view.xml @@ -2,7 +2,7 @@ - Journal Items (account_filter_payable_receivable) + Journal Items (account_move_line_payable_receivable_filter) account.move.line