From 188730318e217479c11c2ee1975aec13e388ca7b Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Thu, 16 Oct 2014 11:58:46 +0200 Subject: [PATCH] Add account_invoice_overdue_filter. --- account_invoice_overdue_filter/__init__.py | 21 +++++++++ account_invoice_overdue_filter/__openerp__.py | 43 +++++++++++++++++++ .../account_invoice_view.xml | 24 +++++++++++ 3 files changed, 88 insertions(+) create mode 100644 account_invoice_overdue_filter/__init__.py create mode 100644 account_invoice_overdue_filter/__openerp__.py create mode 100644 account_invoice_overdue_filter/account_invoice_view.xml diff --git a/account_invoice_overdue_filter/__init__.py b/account_invoice_overdue_filter/__init__.py new file mode 100644 index 0000000..85c0df0 --- /dev/null +++ b/account_invoice_overdue_filter/__init__.py @@ -0,0 +1,21 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# Account Invoice Overdue Filter module for OpenERP +# Copyright (C) 2014 Akretion (http://www.akretion.com) +# @author Alexis de Lattre +# +# 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 . +# +############################################################################## diff --git a/account_invoice_overdue_filter/__openerp__.py b/account_invoice_overdue_filter/__openerp__.py new file mode 100644 index 0000000..330f0c7 --- /dev/null +++ b/account_invoice_overdue_filter/__openerp__.py @@ -0,0 +1,43 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# Account Invoice Overdue Filter module for OpenERP +# Copyright (C) 2014 Akretion (http://www.akretion.com) +# @author Alexis de Lattre +# +# 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': 'Account Invoice Overdue Filter', + 'version': '0.1', + 'category': 'Accounting & Finance', + 'license': 'AGPL-3', + 'summary': 'Add an Overdue filter in the invoice search view', + 'description': """ +Account Invoice Overdue Filter +============================== + +This module adds a filter *Overdue* in the invoice search view. + +Please contact Alexis de Lattre from Akretion for any help or question about this module. + """, + 'author': 'Akretion', + 'website': 'http://www.akretion.com', + 'depends': ['account'], + 'data': ['account_invoice_view.xml'], + 'installable': True, +} diff --git a/account_invoice_overdue_filter/account_invoice_view.xml b/account_invoice_overdue_filter/account_invoice_view.xml new file mode 100644 index 0000000..54208cf --- /dev/null +++ b/account_invoice_overdue_filter/account_invoice_view.xml @@ -0,0 +1,24 @@ + + + + + + + + filter.overdue.account.invoice.search + account.invoice + + + + + + + + + +