From 98836d76f0256235cfc258594c4817f7b891313b Mon Sep 17 00:00:00 2001 From: "Nhomar Hernandez nhomar@vauxoo.com" Date: Wed, 21 Mar 2012 12:04:58 -0530 Subject: [PATCH] [IMP] Added group to account financial report module. --- account_financial_report/__openerp__.py | 27 ++++++++++--------- .../security/security.xml | 9 +++++++ .../wizard/account_report_wizard.xml | 3 +++ 3 files changed, 26 insertions(+), 13 deletions(-) create mode 100644 account_financial_report/security/security.xml diff --git a/account_financial_report/__openerp__.py b/account_financial_report/__openerp__.py index 82771a52..5937b790 100644 --- a/account_financial_report/__openerp__.py +++ b/account_financial_report/__openerp__.py @@ -25,21 +25,22 @@ # along with this program. If not, see . ############################################################################## { - "name" : "Common financial reports" , - "version" : "1.0" , - "author" : "OpenERP Venezuela" , - "website" : "http://wiki.openerp.org.ve/" , - "depends" : ["base","account"] , - "category" : "Localisation/Accounting" , + "name" : "Common financial reports", + "version" : "1.0", + "author" : "OpenERP Venezuela", + "website" : "http://wiki.openerp.org.ve/", + "depends" : ["base","account"], + "category" : "Localisation/Accounting", "description": """ - """ , - "init_xml" : [] , - "demo_xml" : [] , + """, + "init_xml" : [], + "demo_xml" : [], "update_xml" : [ - "wizard/wizard_report_report.xml" , - "wizard/account_report_wizard.xml" , + "security/security.xml", + "wizard/wizard_report_report.xml", + "wizard/account_report_wizard.xml", "view/account_view.xml", - ] , - "active": False , + ], + "active": False, "installable": True } diff --git a/account_financial_report/security/security.xml b/account_financial_report/security/security.xml new file mode 100644 index 00000000..5638fa86 --- /dev/null +++ b/account_financial_report/security/security.xml @@ -0,0 +1,9 @@ + + + + + Account Financial Report + + + + diff --git a/account_financial_report/wizard/account_report_wizard.xml b/account_financial_report/wizard/account_report_wizard.xml index 6bbe3b81..47287abb 100644 --- a/account_financial_report/wizard/account_report_wizard.xml +++ b/account_financial_report/wizard/account_report_wizard.xml @@ -65,6 +65,7 @@ name="Reporte Balance 4 Columnas" parent="account.final_accounting_reports" sequence="99" + groups="account_financial_report.group_afreport" action="action_wizard_report"/> @@ -128,6 +129,7 @@ name="Reporte Balance 2 Columnas" parent="account.final_accounting_reports" sequence="99" + groups="account_financial_report.group_afreport" action="action_wizard_report2"/> @@ -190,6 +192,7 @@ name="Reporte Balance " parent="account.final_accounting_reports" sequence="99" + groups="account_financial_report.group_afreport" action="action_wizard_report3"/>