From 6f2b1da238c7c488eee04d522c7430b29dec7e49 Mon Sep 17 00:00:00 2001 From: Anthony Muschang Date: Wed, 3 Dec 2014 10:39:47 +0100 Subject: [PATCH] [CHG] account_voucher_killer: description & hide menu "Sales Receipts Analysis" --- account_voucher_killer/README.md | 4 +++- account_voucher_killer/__openerp__.py | 2 +- account_voucher_killer/invoice_view.xml | 4 ++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/account_voucher_killer/README.md b/account_voucher_killer/README.md index 4a09ee2f9..e05d871dd 100644 --- a/account_voucher_killer/README.md +++ b/account_voucher_killer/README.md @@ -3,7 +3,9 @@ This add-on disables the "Register Payment" button on customer invoices and the "Pay" button on supplier invoices. -It also disable the menus "Sales Receipts", "Customer Payments", "Purchase Receipts", "Supplier Payments" and "Journal Vouchers". +It also disables the voucher-related menus entries such as +"Sales Receipts", "Customer Payments", "Purchase Receipts", +"Supplier Payments" and "Journal Vouchers", "Sales Receipts Analysis". More precisely, this module adds a group "Use voucher in Invoices" and only users in that group see these buttons and menus. diff --git a/account_voucher_killer/__openerp__.py b/account_voucher_killer/__openerp__.py index 4c76ab82d..f1f2b826c 100644 --- a/account_voucher_killer/__openerp__.py +++ b/account_voucher_killer/__openerp__.py @@ -19,7 +19,7 @@ # ############################################################################## -{'name': 'Account voucher killer', +{'name': 'Accounting voucher killer', 'version': '1.0.0', 'category': 'other', 'author': 'Camptocamp', diff --git a/account_voucher_killer/invoice_view.xml b/account_voucher_killer/invoice_view.xml index 7cec41bc8..a55224160 100644 --- a/account_voucher_killer/invoice_view.xml +++ b/account_voucher_killer/invoice_view.xml @@ -47,5 +47,9 @@ + + + +