diff --git a/account_voucher_killer/README.md b/account_voucher_killer/README.md index b41622268..4a09ee2f9 100644 --- a/account_voucher_killer/README.md +++ b/account_voucher_killer/README.md @@ -3,5 +3,7 @@ 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". + More precisely, this module adds a group "Use voucher in Invoices" -and only users in that group see these buttons. +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 d38a4e7c0..4c76ab82d 100644 --- a/account_voucher_killer/__openerp__.py +++ b/account_voucher_killer/__openerp__.py @@ -19,7 +19,7 @@ # ############################################################################## -{'name': 'Invoicing voucher killer', +{'name': 'Account 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 6f6b6d731..7cec41bc8 100644 --- a/account_voucher_killer/invoice_view.xml +++ b/account_voucher_killer/invoice_view.xml @@ -7,11 +7,11 @@ - invoicing_voucher_killer.invoice_voucher_user + account_voucher_killer.invoice_voucher_user - invoicing_voucher_killer.invoice_voucher_user + account_voucher_killer.invoice_voucher_user @@ -23,10 +23,29 @@ - invoicing_voucher_killer.invoice_voucher_user + account_voucher_killer.invoice_voucher_user + + + + + + + + + + + + + + + + + + +