[CHG] account_voucher_killer: description & hide menu "Sales Receipts Analysis"

This commit is contained in:
Anthony Muschang
2014-12-03 10:39:47 +01:00
parent 082ab5d867
commit 6f2b1da238
3 changed files with 8 additions and 2 deletions

View File

@@ -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.

View File

@@ -19,7 +19,7 @@
#
##############################################################################
{'name': 'Account voucher killer',
{'name': 'Accounting voucher killer',
'version': '1.0.0',
'category': 'other',
'author': 'Camptocamp',

View File

@@ -47,5 +47,9 @@
<record id="account_voucher.menu_encode_entries_by_voucher" model="ir.ui.menu">
<field name="groups_id" eval="[(6,0,[ref('account_voucher_killer.invoice_voucher_user')])]"/>
</record>
<record id="account_voucher.menu_action_sale_receipt_report_all" model="ir.ui.menu">
<field name="groups_id" eval="[(6,0,[ref('account_voucher_killer.invoice_voucher_user')])]"/>
</record>
</data>
</openerp>