[Merge] Usability Improvements in access in rights

bzr revid: vir@tinyerp.com-20100809113350-1wyznfeat132t4kw
This commit is contained in:
Vir (Open ERP)
2010-08-09 17:03:50 +05:30
4 changed files with 10 additions and 3 deletions
+1 -1
View File
@@ -51,7 +51,7 @@
<field name="view_mode">tree,form</field>
</record>
<menuitem action="action_res_bank_form" groups="group_extended" id="menu_action_res_bank_form"
<menuitem action="action_res_bank_form" groups="group_extended,group_system" id="menu_action_res_bank_form"
parent="base.menu_config_address_book" sequence="5"/>
</data>
</openerp>
+1 -1
View File
@@ -124,7 +124,7 @@
<field name="act_window_id" ref="action_partner_address_form"/>
</record>
<menuitem action="action_partner_address_form" id="menu_partner_address_form"
groups="base.group_extended"
groups="base.group_extended,base.group_system,group_sale_manager,group_sale_salesman"
parent="base.menu_address_book" sequence="30"/>
<!--
@@ -29,6 +29,12 @@
<field name="name">Useability / No One</field>
</record>
<record id="group_sale_manager" model="res.groups">
<field name="name">Sales / Manager</field>
</record>
<record id="group_sale_salesman" model="res.groups">
<field name="name">Sales / User</field>
</record>
<!-- Set accesses to menu -->
<record model="ir.ui.menu" id="base.menu_administration">
<field name="groups_id" eval="[(6,0, [ref('group_system'), ref('group_erp_manager')])]"/>
+2 -1
View File
@@ -80,7 +80,7 @@
"access_res_users_group_erp_manager","res_users group_erp_manager","model_res_users","group_erp_manager",1,1,1,1
"access_ir_actions_all","ir_actions_all","model_ir_actions_actions",,1,0,0,0
"access_ir_actions_group_system","ir_actions_group_system","model_ir_actions_actions","group_system",1,1,1,1
"access_ir_actions_act_window_all","ir_actions_act_window_all","model_ir_actions_act_window",,1,0,0,0
"access_ir_actions_act_window_all","ir_actions_act_window_all","model_ir_actions_act_window",,1,1,1,0
"access_ir_actions_act_window_system","ir_actions_act_window_system","model_ir_actions_act_window","group_system",1,1,1,1
"access_ir_actions_act_window_close_all","ir_actions_act_window_close_all","model_ir_actions_act_window_close",,1,0,0,0
"access_ir_actions_act_window_close_group_system","ir_actions_act_window_close_group_system","model_ir_actions_act_window_close","group_system",1,1,1,1
@@ -124,3 +124,4 @@
"access_ir_filters","ir_filters_all","model_ir_filters",,1,1,1,1
"access_ir_module_web","ir.module.web","model_ir_module_web","group_system",1,1,1,1
"access_ir_module_web_dependency","ir.module.web.dependency","model_ir_module_web_dependency","group_system",1,1,1,1
"access_res_partner_address","res.partner.address","model_res_partner_address","group_system",1,1,1,1
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
80 access_res_users_group_erp_manager res_users group_erp_manager model_res_users group_erp_manager 1 1 1 1
81 access_ir_actions_all ir_actions_all model_ir_actions_actions 1 0 0 0
82 access_ir_actions_group_system ir_actions_group_system model_ir_actions_actions group_system 1 1 1 1
83 access_ir_actions_act_window_all ir_actions_act_window_all model_ir_actions_act_window 1 0 1 0 1 0
84 access_ir_actions_act_window_system ir_actions_act_window_system model_ir_actions_act_window group_system 1 1 1 1
85 access_ir_actions_act_window_close_all ir_actions_act_window_close_all model_ir_actions_act_window_close 1 0 0 0
86 access_ir_actions_act_window_close_group_system ir_actions_act_window_close_group_system model_ir_actions_act_window_close group_system 1 1 1 1
124 access_ir_filters ir_filters_all model_ir_filters 1 1 1 1
125 access_ir_module_web ir.module.web model_ir_module_web group_system 1 1 1 1
126 access_ir_module_web_dependency ir.module.web.dependency model_ir_module_web_dependency group_system 1 1 1 1
127 access_res_partner_address res.partner.address model_res_partner_address group_system 1 1 1 1