Pinakin Nayi (OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-acl-account-access-pna into
lp:~openerp-dev/openobject-addons/trunk-acl-account.
Requested reviews:
Jigar Amin (OpenERP) (jam-openerp)
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-acl-account-access-pna/+merge/128016
Hello Sir,
I improved access rights of account module.
Thanks,
pna
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-acl-account-access-pna/+merge/128016
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-acl-account.
=== modified file 'account/security/ir.model.access.csv'
--- account/security/ir.model.access.csv 2012-09-10 05:56:51 +0000
+++ account/security/ir.model.access.csv 2012-10-04 13:30:35 +0000
@@ -7,6 +7,7 @@
access_account_account,account.account,model_account_account,account.group_account_user,1,0,0,0
access_account_account_user,account.account user,model_account_account,base.group_user,1,0,0,0
access_account_account_partner_manager,account.account partner manager,model_account_account,base.group_partner_manager,1,0,0,0
+access_account_journal,account.journal,model_account_journal,account.group_account_user,1,1,1,0
access_account_journal_view,account.journal.view,model_account_journal_view,account.group_account_user,1,0,0,0
access_account_journal_column,account.journal.column,model_account_journal_column,account.group_account_user,1,0,0,0
access_account_journal_period_manager,account.journal.period manager,model_account_journal_period,account.group_account_manager,1,0,0,0
@@ -71,13 +72,13 @@
access_report_invoice_created,report.invoice.created,model_report_invoice_created,account.group_account_manager,1,1,1,1
access_report_account_type_sales,report.account_type.sales,model_report_account_type_sales,account.group_account_manager,1,1,1,1
access_report_account_sales,report.account.sales,model_report_account_sales,account.group_account_manager,1,1,1,1
-access_account_invoice_report,account.invoice.report,model_account_invoice_report,account.group_account_manager,1,1,1,1
+access_account_invoice_report,account.invoice.report,model_account_invoice_report,account.group_account_manager,1,1,1,0
access_res_partner_group_account_manager,res_partner group_account_manager,model_res_partner,account.group_account_manager,1,0,0,0
access_account_invoice_accountant,account.invoice accountant,model_account_invoice,account.group_account_user,1,0,0,0
access_account_tax_code_accountant,account.tax.code accountant,model_account_tax_code,account.group_account_user,1,1,1,1
access_account_move_line_manager,account.move.line manager,model_account_move_line,account.group_account_manager,1,0,0,0
access_account_move_manager,account.move manager,model_account_move,account.group_account_manager,1,0,0,0
-access_account_entries_report_manager,account.entries.report,model_account_entries_report,account.group_account_manager,1,1,1,1
+access_account_entries_report_manager,account.entries.report,model_account_entries_report,account.group_account_manager,1,1,1,0
access_account_entries_report_invoice,account.entries.report,model_account_entries_report,account.group_account_invoice,1,0,0,0
access_account_entries_report_employee,account.entries.report employee,model_account_entries_report,base.group_user,1,0,0,0
access_analytic_entries_report_manager,analytic.entries.report,model_analytic_entries_report,account.group_account_manager,1,0,0,0
=== modified file 'account_asset/account_asset_view.xml'
--- account_asset/account_asset_view.xml 2012-09-13 09:46:11 +0000
+++ account_asset/account_asset_view.xml 2012-10-04 13:30:35 +0000
@@ -77,9 +77,9 @@
<field name="arch" type="xml">
<form string="Asset" version="7.0">
<header>
- <button name="validate" states="draft" string="Confirm Asset" type="object" class="oe_highlight"/>
- <button name="set_to_close" states="open" string="Set to Close" type="object" class="oe_highlight"/>
- <button name="set_to_draft" states="open" string="Set to Draft" type="object" />
+ <button name="validate" states="draft" string="Confirm Asset" type="object" class="oe_highlight" groups="account.group_account_manager"/>
+ <button name="set_to_close" states="open" string="Set to Close" type="object" class="oe_highlight" groups="account.group_account_manager"/>
+ <button name="set_to_draft" states="open" string="Set to Draft" type="object" groups="account.group_account_manager"/>
<field name="state" widget="statusbar" statusbar_visible="draft,open"/>
</header>
<sheet>
=== modified file 'account_asset/security/ir.model.access.csv'
--- account_asset/security/ir.model.access.csv 2011-12-19 16:54:40 +0000
+++ account_asset/security/ir.model.access.csv 2012-10-04 13:30:35 +0000
@@ -5,7 +5,7 @@
access_account_asset_category_manager,account.asset.category,model_account_asset_category,account.group_account_manager,1,1,1,1
access_account_asset_asset_manager,account.asset.asset,model_account_asset_asset,account.group_account_manager,1,1,1,1
access_account_asset_history_manager,account.asset.history,model_account_asset_history,account.group_account_manager,1,1,1,1
-access_account_asset_depreciation_line,account.asset.depreciation.line,model_account_asset_depreciation_line,account.group_account_user,1,0,0,0
+access_account_asset_depreciation_line,account.asset.depreciation.line,model_account_asset_depreciation_line,account.group_account_user,1,1,0,0
access_account_asset_depreciation_line_manager,account.asset.depreciation.line,model_account_asset_depreciation_line,account.group_account_manager,1,1,1,1
access_asset_asset_report,asset.asset.report,model_asset_asset_report,account.group_account_user,1,0,0,0
-access_asset_asset_report_manager,asset.asset.report,model_asset_asset_report,account.group_account_manager,1,1,1,1
+access_asset_asset_report_manager,asset.asset.report,model_asset_asset_report,account.group_account_manager,1,1,1,0
=== modified file 'account_followup/security/ir.model.access.csv'
--- account_followup/security/ir.model.access.csv 2012-01-31 13:36:57 +0000
+++ account_followup/security/ir.model.access.csv 2012-10-04 13:30:35 +0000
@@ -1,7 +1,8 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
-access_account_followup_followup_line,account_followup.followup.line,model_account_followup_followup_line,account.group_account_user,1,0,0,0
+access_account_followup_followup_line,account_followup.followup.line,model_account_followup_followup_line,account.group_account_invoice,1,0,0,0
access_account_followup_followup_line_manager,account_followup.followup.line.manager,model_account_followup_followup_line,account.group_account_manager,1,1,1,1
access_account_followup_followup_accountant,account_followup.followup user,model_account_followup_followup,account.group_account_user,1,0,0,0
access_account_followup_followup_manager,account_followup.followup.manager,model_account_followup_followup,account.group_account_manager,1,1,1,1
access_account_followup_stat_invoice,account_followup.stat.invoice,model_account_followup_stat,account.group_account_invoice,1,1,1,1
access_account_followup_stat_by_partner_manager,account_followup.stat.by.partner,model_account_followup_stat_by_partner,account.group_account_manager,1,1,1,1
+access_account_followup_stat_by_partner_user,account_followup.stat.by.partner,model_account_followup_stat_by_partner,account.group_account_user,1,1,1,0
=== modified file 'account_voucher/security/ir.model.access.csv'
--- account_voucher/security/ir.model.access.csv 2011-12-19 16:54:40 +0000
+++ account_voucher/security/ir.model.access.csv 2012-10-04 13:30:35 +0000
@@ -3,5 +3,5 @@
access_account_voucher_line_manager,account.voucher.line,model_account_voucher_line,account.group_account_manager,1,0,0,0
access_account_voucher_invoice,account.voucher invoice,model_account_voucher,account.group_account_invoice,1,1,1,1
access_account_voucher_line_invoice,account.voucher.line invoice,model_account_voucher_line,account.group_account_invoice,1,1,1,1
-access_sale_receipt_report_manager,account.sale.receipt.report,model_sale_receipt_report,account.group_account_manager,1,1,1,1
+access_sale_receipt_report_manager,account.sale.receipt.report,model_sale_receipt_report,account.group_account_manager,1,1,1,0
access_sale_receipt_report_user,account.sale.receipt.report,model_sale_receipt_report,account.group_account_user,1,0,0,0
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp