Merge pull request #139 from acsone/8.0-add-account-filter-payable-receivable-ape

[ADD] Add account_filter_paybale_receivable addons
This commit is contained in:
Pedro M. Baeza
2015-02-10 21:59:49 +01:00
6 changed files with 158 additions and 0 deletions

View File

@@ -0,0 +1,46 @@
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
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) <stephane.bidoul@acsone.eu>
* Adrien Peiffer (ACSONE) <adrien.peiffer@acsone.eu>
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.

View File

@@ -0,0 +1 @@
# -*- coding: utf-8 -*-

View File

@@ -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 (<http://acsone.eu>)
#
# 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 <http://www.gnu.org/licenses/>.
#
##############################################################################
{
'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',
],
}

View File

@@ -0,0 +1,27 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_move_line_payable_receivable_filter
#
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_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_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"

View File

@@ -0,0 +1,27 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * account_move_line_payable_receivable_filter
#
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_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_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"

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="view_account_move_line_filter_inherit" model="ir.ui.view">
<field name="name">Journal Items (account_move_line_payable_receivable_filter)</field>
<field name="model">account.move.line</field>
<field name="inherit_id" ref="account.view_account_move_line_filter"/>
<field name="arch" type="xml">
<xpath expr="//filter[@name='posted']" position="after">
<filter name="payable" string="Payable Account" domain="[('account_id.type','=','payable')]"/>
<filter name="receivable" string="Receivable Account" domain="[('account_id.type','=','receivable')]"/>
</xpath>
</field>
</record>
</data>
</openerp>