[MOD] lunch: usability improvement in access rights

bzr revid: amp@tinyerp.com-20100807124815-bl3z17efhbcmc6m6
This commit is contained in:
AMP (OpenERP)
2010-08-07 18:18:15 +05:30
parent 9b307b3d87
commit acd29a2ff2
2 changed files with 17 additions and 0 deletions
+11
View File
@@ -6,3 +6,14 @@
"access_lunch_order","lunch.order","model_lunch_order","base.group_user",1,1,1,1
"access_report_lunch_amount","report.lunch.amount","model_report_lunch_amount","base.group_user",1,1,1,1
"access_lunch_order_sale_salesman","lunch.order.sale","model_lunch_order","base.group_sale_salesman",1,1,1,1
"access_lunch_order_user","lunch.order user","model_lunch_order","base.group_survey_user",1,1,1,1
"access_lunch_order_manager","lunch.order manager","model_lunch_order","base.group_survey_manager",1,0,0,0
"access_lunch_cashmove_user","lunch.cashmove user","model_lunch_cashmove","base.group_survey_user",1,1,1,1
"access_lunch_cashmove_manager","lunch.cashmove manager","model_lunch_cashmove","base.group_survey_manager",1,0,0,0
"access_report_lunch_amount_manager","report.lunch.amount manager","model_report_lunch_amount","base.group_survey_manager",1,1,1,1
"access_lunch_category_system","lunch.category system","model_lunch_category","base.group_system",1,1,1,1
"access_lunch_product_system","lunch.product system","model_lunch_product","base.group_system",1,1,1,1
"access_lunch_cashbox_system","lunch.cashbox system","model_lunch_cashbox","base.group_system",1,1,1,1
"access_lunch_order_system","lunch.order system","model_lunch_order","base.group_system",1,0,0,0
"access_lunch_cashmove_system","lunch.cashmove system","model_lunch_cashmove","base.group_system",1,0,0,0
"access_report_lunch_order_manager","report.lunch.order manager","model_report_lunch_order","base.group_survey_manager",1,1,1,1
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
6 access_lunch_order lunch.order model_lunch_order base.group_user 1 1 1 1
7 access_report_lunch_amount report.lunch.amount model_report_lunch_amount base.group_user 1 1 1 1
8 access_lunch_order_sale_salesman lunch.order.sale model_lunch_order base.group_sale_salesman 1 1 1 1
9 access_lunch_order_user lunch.order user model_lunch_order base.group_survey_user 1 1 1 1
10 access_lunch_order_manager lunch.order manager model_lunch_order base.group_survey_manager 1 0 0 0
11 access_lunch_cashmove_user lunch.cashmove user model_lunch_cashmove base.group_survey_user 1 1 1 1
12 access_lunch_cashmove_manager lunch.cashmove manager model_lunch_cashmove base.group_survey_manager 1 0 0 0
13 access_report_lunch_amount_manager report.lunch.amount manager model_report_lunch_amount base.group_survey_manager 1 1 1 1
14 access_lunch_category_system lunch.category system model_lunch_category base.group_system 1 1 1 1
15 access_lunch_product_system lunch.product system model_lunch_product base.group_system 1 1 1 1
16 access_lunch_cashbox_system lunch.cashbox system model_lunch_cashbox base.group_system 1 1 1 1
17 access_lunch_order_system lunch.order system model_lunch_order base.group_system 1 0 0 0
18 access_lunch_cashmove_system lunch.cashmove system model_lunch_cashmove base.group_system 1 0 0 0
19 access_report_lunch_order_manager report.lunch.order manager model_report_lunch_order base.group_survey_manager 1 1 1 1
+6
View File
@@ -5,6 +5,12 @@
<record id="base.group_sale_salesman" model="res.groups">
<field name="name">Sales / Salesman</field>
</record>
<record model="res.groups" id="base.group_survey_manager">
<field name="name">Tools / Manager</field>
</record>
<record model="res.groups" id="base.group_survey_user">
<field name="name">Tools / User</field>
</record>
</data>
</openerp>