[MOD/IMP]hr_* modules access right changes

bzr revid: dbr@tinyerp.com-20100804085628-58nplf4yw8zp80dj
This commit is contained in:
DBR (OpenERP) 2010-08-04 14:26:28 +05:30
parent 4a9ece3520
commit 9261375e2e
10 changed files with 21 additions and 21 deletions

View File

@ -335,7 +335,6 @@
<field name="name">Document</field>
<field name="view_type">form</field>
<field name="search_view_id" ref="view_attach_filter"/>
<field name="help">Documents give your access to all attached documents; it's a repository of all attached documents (mails, documents attached to a project, etc.)</field>
</record>
<menuitem name="Documents" id="menu_document_doc" parent="knowledge.menu_document" sequence="0"/>
<menuitem

View File

@ -3,11 +3,11 @@
"access_hr_employee","hr.employee","model_hr_employee","base.group_hr_user",1,1,1,1
"access_hr_employee_resource","resource.resource","resource.model_resource_resource","base.group_hr_user",1,1,1,1
"access_hr_department","hr.department","model_hr_department","base.group_hr_user",1,0,0,0
"access_hr_employee_category_manager","hr.employee.category.manager","model_hr_employee_category","base.group_hr_manager",1,1,1,1
"access_hr_department_manager","hr.department.manager","model_hr_department","base.group_hr_manager",1,1,1,1
"access_hr_employee_category_manager","hr.employee.category.manager","model_hr_employee_category","base.group_hr_manager",1,0,0,0
"access_hr_department_manager","hr.department.manager","model_hr_department","base.group_hr_manager",1,0,0,0
"access_hr_employee_marital_status","hr.employee.marital.status","model_hr_employee_marital_status","base.group_system",1,1,1,1
"access_hr_job","hr.job","model_hr_job","base.group_hr_user",1,0,0,0
"access_hr_employee_category_manager","hr.employee.category.manager","model_hr_employee_category","base.group_hr_manager",1,0,0,0
"access_hr_employee_manager","hr.employee.manager","model_hr_employee","base.group_hr_manager",1,1,1,1
"access_hr_employee_resource","resource.resource","resource.model_resource_resource","base.group_hr_manager",1,1,1,1
"access_hr_department","hr.department","model_hr_department","base.group_hr_manager",1,1,1,1
"access_hr_employee_manager","hr.employee.manager","model_hr_employee","base.group_hr_manager",1,0,0,0
"access_hr_employee_resource","resource.resource","resource.model_resource_resource","base.group_hr_manager",1,0,0,0
"access_hr_department","hr.department","model_hr_department","base.group_hr_manager",1,0,0,0

1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
3 access_hr_employee hr.employee model_hr_employee base.group_hr_user 1 1 1 1
4 access_hr_employee_resource resource.resource resource.model_resource_resource base.group_hr_user 1 1 1 1
5 access_hr_department hr.department model_hr_department base.group_hr_user 1 0 0 0
6 access_hr_employee_category_manager hr.employee.category.manager model_hr_employee_category base.group_hr_manager 1 1 0 1 0 1 0
7 access_hr_department_manager hr.department.manager model_hr_department base.group_hr_manager 1 1 0 1 0 1 0
8 access_hr_employee_marital_status hr.employee.marital.status model_hr_employee_marital_status base.group_system 1 1 1 1
9 access_hr_job hr.job model_hr_job base.group_hr_user 1 0 0 0
10 access_hr_employee_category_manager hr.employee.category.manager model_hr_employee_category base.group_hr_manager 1 0 0 0
11 access_hr_employee_manager hr.employee.manager model_hr_employee base.group_hr_manager 1 1 0 1 0 1 0
12 access_hr_employee_resource resource.resource resource.model_resource_resource base.group_hr_manager 1 1 0 1 0 1 0
13 access_hr_department hr.department model_hr_department base.group_hr_manager 1 1 0 1 0 1 0

View File

@ -74,7 +74,7 @@
</record>
<menuitem id="menu_hr_time_tracking" name="Time Tracking" parent="hr.menu_hr_root" sequence="3"/>
<menuitem action="open_view_attendance" id="menu_open_view_attendance" parent="menu_hr_time_tracking" groups="base.group_hr_manager,base.group_hr_user" sequence="3"/>
<menuitem action="open_view_attendance" id="menu_open_view_attendance" parent="menu_hr_time_tracking" groups="base.group_hr_manager,base.group_hr_user,hr_attendance.group_hr_attendance" sequence="3"/>
<record id="edit_attendance_reason" model="ir.ui.view">
<field name="name">hr.action.reason.form</field>

View File

@ -1,6 +1,6 @@
"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
"access_hr_action_reason_employee","hr action reason employee","model_hr_action_reason","hr_attendance.group_hr_attendance",1,0,0,0
"access_hr_action_reason_employee","hr action reason employee","model_hr_action_reason","base.group_hr_manager",1,1,1,1
"access_hr_action_reason_employee","hr action reason employee","model_hr_action_reason","base.group_hr_manager",1,0,0,0
"access_hr_action_reason_employee_user","hr action reason employee user","model_hr_attendance","base.group_hr_user",1,1,1,1
"access_hr_attendance_employee","hr attendance employee","model_hr_attendance","hr_attendance.group_hr_attendance",1,1,1,1
"access_hr_employee_attendance","hr employee attendance sign in out","hr.model_hr_employee","hr_attendance.group_hr_attendance",1,0,0,0

1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_hr_action_reason_employee hr action reason employee model_hr_action_reason hr_attendance.group_hr_attendance 1 0 0 0
3 access_hr_action_reason_employee hr action reason employee model_hr_action_reason base.group_hr_manager 1 1 0 1 0 1 0
4 access_hr_action_reason_employee_user hr action reason employee user model_hr_attendance base.group_hr_user 1 1 1 1
5 access_hr_attendance_employee hr attendance employee model_hr_attendance hr_attendance.group_hr_attendance 1 1 1 1
6 access_hr_employee_attendance hr employee attendance sign in out hr.model_hr_employee hr_attendance.group_hr_attendance 1 0 0 0

View File

@ -1,10 +1,10 @@
"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
"access_hr_evaluation_evaluation","hr_evaluation.evaluation","model_hr_evaluation_evaluation","base.group_hr_user",1,1,1,1
"access_hr_evaluation_evaluation_manager","hr_evaluation.evaluation","model_hr_evaluation_evaluation","base.group_hr_manager",1,1,1,1
"access_hr_evaluation_evaluation_manager","hr_evaluation.evaluation","model_hr_evaluation_evaluation","base.group_hr_manager",1,0,0,0
"access_hr_evaluation_plan","hr_evaluation.plan","model_hr_evaluation_evaluation","base.group_hr_user",1,0,0,0
"access_hr_evaluation_plan_manager","hr_evaluation.plan","model_hr_evaluation_plan","base.group_hr_manager",1,1,1,1
"access_hr_evaluation_plan_manager","hr_evaluation.plan","model_hr_evaluation_plan","base.group_hr_manager",1,0,0,0
"access_hr_evaluation_plan_phase","hr_evaluation.plan.phase","model_hr_evaluation_plan_phase","base.group_hr_user",1,0,0,0
"access_hr_evaluation_plan_phase_manager","hr_evaluation.plan.phase","model_hr_evaluation_plan_phase","base.group_hr_manager",1,1,1,1
"access_hr_evaluation_plan_phase_manager","hr_evaluation.plan.phase","model_hr_evaluation_plan_phase","base.group_hr_manager",1,0,0,0
"access_hr_evaluation_interview","hr.evaluation.interview","model_hr_evaluation_interview","base.group_hr_user",1,1,1,1
"access_hr_evaluation_interview_manager","hr.evaluation.interview","model_hr_evaluation_interview","base.group_hr_manager",1,1,1,1
"access_hr_evaluation_report","hr.evaluation.report","model_hr_evaluation_report","base.group_hr_manager",1,1,1,1
"access_hr_evaluation_interview_manager","hr.evaluation.interview","model_hr_evaluation_interview","base.group_hr_manager",1,0,0,0
"access_hr_evaluation_report","hr.evaluation.report","model_hr_evaluation_report","base.group_hr_manager",1,0,0,0

1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_hr_evaluation_evaluation hr_evaluation.evaluation model_hr_evaluation_evaluation base.group_hr_user 1 1 1 1
3 access_hr_evaluation_evaluation_manager hr_evaluation.evaluation model_hr_evaluation_evaluation base.group_hr_manager 1 1 0 1 0 1 0
4 access_hr_evaluation_plan hr_evaluation.plan model_hr_evaluation_evaluation base.group_hr_user 1 0 0 0
5 access_hr_evaluation_plan_manager hr_evaluation.plan model_hr_evaluation_plan base.group_hr_manager 1 1 0 1 0 1 0
6 access_hr_evaluation_plan_phase hr_evaluation.plan.phase model_hr_evaluation_plan_phase base.group_hr_user 1 0 0 0
7 access_hr_evaluation_plan_phase_manager hr_evaluation.plan.phase model_hr_evaluation_plan_phase base.group_hr_manager 1 1 0 1 0 1 0
8 access_hr_evaluation_interview hr.evaluation.interview model_hr_evaluation_interview base.group_hr_user 1 1 1 1
9 access_hr_evaluation_interview_manager hr.evaluation.interview model_hr_evaluation_interview base.group_hr_manager 1 1 0 1 0 1 0
10 access_hr_evaluation_report hr.evaluation.report model_hr_evaluation_report base.group_hr_manager 1 1 0 1 0 1 0

View File

@ -1,7 +1,7 @@
"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
"access_hr_expense_expense","hr.expense.expense","model_hr_expense_expense","base.group_hr_user",1,1,1,1
"access_hr_expense_line","hr.expense.line","model_hr_expense_line","base.group_hr_user",1,1,1,1
"access_hr_expense_report","hr.expense.report","model_hr_expense_report","base.group_hr_manager",1,1,1,1
"access_hr_expense_report","hr.expense.report","model_hr_expense_report","base.group_hr_manager",1,0,0,0
"access_product_product_hr_expense","product.product.hr.expense","product.model_product_product","base.group_hr_user",1,0,0,0
"access_product_template_hr_expense","product.template.hr.expense","product.model_product_template","base.group_hr_user",1,0,0,0
"access_product_uom_hr_expense","product.uom.hr.expense","product.model_product_uom","base.group_hr_user",1,0,0,0

1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_hr_expense_expense hr.expense.expense model_hr_expense_expense base.group_hr_user 1 1 1 1
3 access_hr_expense_line hr.expense.line model_hr_expense_line base.group_hr_user 1 1 1 1
4 access_hr_expense_report hr.expense.report model_hr_expense_report base.group_hr_manager 1 1 0 1 0 1 0
5 access_product_product_hr_expense product.product.hr.expense product.model_product_product base.group_hr_user 1 0 0 0
6 access_product_template_hr_expense product.template.hr.expense product.model_product_template base.group_hr_user 1 0 0 0
7 access_product_uom_hr_expense product.uom.hr.expense product.model_product_uom base.group_hr_user 1 0 0 0

View File

@ -1,9 +1,9 @@
"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
"access_hr_holydays_status_user","hr.holidays.status user","model_hr_holidays_status","base.group_hr_user",1,0,0,0
"access_hr_holidays_user","hr holidays user","model_hr_holidays","base.group_hr_user",1,1,1,0
"access_hr_holydays_status_manager","hr.holidays.status manager","model_hr_holidays_status","base.group_hr_manager",1,1,1,1
"access_hr_holidays_manager","hr holidays manager","model_hr_holidays","base.group_hr_manager",1,1,1,1
"access_hr_holydays_status_manager","hr.holidays.status manager","model_hr_holidays_status","base.group_hr_manager",1,0,0,0
"access_hr_holidays_manager","hr holidays manager","model_hr_holidays","base.group_hr_manager",1,0,0,0
"access_hr_holidays_remain","hr holidays user","model_hr_holidays_remaining_leaves_user","base.group_hr_user",1,0,0,0
"access_hr_holidays_report","hr.holidays.report","model_hr_holidays_report","base.group_hr_manager",1,1,1,1
"access_hr_holidays_remaining_leaves_user","hr.hr.holidays.remaining.leaves.user","model_hr_holidays_remaining_leaves_user","base.group_hr_manager",1,1,1,1
"access_available_holidays_report","hr.available.holidays.report","model_available_holidays_report","base.group_hr_manager",1,1,1,1
"access_hr_holidays_report","hr.holidays.report","model_hr_holidays_report","base.group_hr_manager",1,0,0,0
"access_hr_holidays_remaining_leaves_user","hr.hr.holidays.remaining.leaves.user","model_hr_holidays_remaining_leaves_user","base.group_hr_manager",1,0,0,0
"access_available_holidays_report","hr.available.holidays.report","model_available_holidays_report","base.group_hr_manager",1,0,0,0

1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_hr_holydays_status_user hr.holidays.status user model_hr_holidays_status base.group_hr_user 1 0 0 0
3 access_hr_holidays_user hr holidays user model_hr_holidays base.group_hr_user 1 1 1 0
4 access_hr_holydays_status_manager hr.holidays.status manager model_hr_holidays_status base.group_hr_manager 1 1 0 1 0 1 0
5 access_hr_holidays_manager hr holidays manager model_hr_holidays base.group_hr_manager 1 1 0 1 0 1 0
6 access_hr_holidays_remain hr holidays user model_hr_holidays_remaining_leaves_user base.group_hr_user 1 0 0 0
7 access_hr_holidays_report hr.holidays.report model_hr_holidays_report base.group_hr_manager 1 1 0 1 0 1 0
8 access_hr_holidays_remaining_leaves_user hr.hr.holidays.remaining.leaves.user model_hr_holidays_remaining_leaves_user base.group_hr_manager 1 1 0 1 0 1 0
9 access_available_holidays_report hr.available.holidays.report model_available_holidays_report base.group_hr_manager 1 1 0 1 0 1 0

View File

@ -2,4 +2,4 @@
"access_hr_timesheet_sheet_sheet","hr_timesheet_sheet.sheet","model_hr_timesheet_sheet_sheet","base.group_hr_user",1,1,1,1
"access_hr_timesheet_sheet_sheet_day","hr_timesheet_sheet.sheet.day","model_hr_timesheet_sheet_sheet_day","base.group_hr_user",1,1,1,1
"access_hr_timesheet_sheet_sheet_account","hr_timesheet_sheet.sheet.account","model_hr_timesheet_sheet_sheet_account","base.group_hr_user",1,1,1,1
"access_hr_timesheet_report","hr.timesheet.report","model_hr_timesheet_report","base.group_hr_manager",1,1,1,1
"access_hr_timesheet_report","hr.timesheet.report","model_hr_timesheet_report","base.group_hr_manager",1,0,0,0

1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_hr_timesheet_sheet_sheet hr_timesheet_sheet.sheet model_hr_timesheet_sheet_sheet base.group_hr_user 1 1 1 1
3 access_hr_timesheet_sheet_sheet_day hr_timesheet_sheet.sheet.day model_hr_timesheet_sheet_sheet_day base.group_hr_user 1 1 1 1
4 access_hr_timesheet_sheet_sheet_account hr_timesheet_sheet.sheet.account model_hr_timesheet_sheet_sheet_account base.group_hr_user 1 1 1 1
5 access_hr_timesheet_report hr.timesheet.report model_hr_timesheet_report base.group_hr_manager 1 1 0 1 0 1 0

View File

@ -1,2 +1,3 @@
"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
"access_ir_attachment_sale_manager","ir_attachment manager","base.model_ir_attachment","base.group_sale_manager",1,1,1,1
"access_ir_attachment_partner_manager","ir_attachment_partner manager","base.model_ir_attachment","base.group_partner_manager",1,1,1,1

1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_ir_attachment_sale_manager ir_attachment manager base.model_ir_attachment base.group_sale_manager 1 1 1 1
3 access_ir_attachment_partner_manager ir_attachment_partner manager base.model_ir_attachment base.group_partner_manager 1 1 1 1

View File

@ -7,7 +7,7 @@
"access_product_product_manager","product.product manager","model_product_product","product.group_product_manager",1,1,1,1
"access_product_packaging_manager","product.packaging manager","model_product_packaging","product.group_product_manager",1,1,1,1
"access_product_supplierinfo_manager","product.supplierinfo manager","model_product_supplierinfo","product.group_product_manager",1,1,1,1
"access_pricelist_partnerinfo_manager","pricelist.partnerinfo manager","model_pricelist_partnerinfo","product.group_product_manager",1,0,0,0
"access_pricelist_partnerinfo_manager","pricelist.partnerinfo manager","model_pricelist_partnerinfo","product.group_product_manager",1,1,1,1
"access_product_price_type_manager","product.price.type manager","model_product_price_type","product.group_product_manager",1,1,1,1
"access_product_pricelist_type_manager","product.pricelist.type manager","model_product_pricelist_type","product.group_product_manager",1,1,1,1
"access_product_pricelist_manager","product.pricelist manager","model_product_pricelist","product.group_product_manager",1,1,1,1

1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
7 access_product_product_manager product.product manager model_product_product product.group_product_manager 1 1 1 1
8 access_product_packaging_manager product.packaging manager model_product_packaging product.group_product_manager 1 1 1 1
9 access_product_supplierinfo_manager product.supplierinfo manager model_product_supplierinfo product.group_product_manager 1 1 1 1
10 access_pricelist_partnerinfo_manager pricelist.partnerinfo manager model_pricelist_partnerinfo product.group_product_manager 1 0 1 0 1 0 1
11 access_product_price_type_manager product.price.type manager model_product_price_type product.group_product_manager 1 1 1 1
12 access_product_pricelist_type_manager product.pricelist.type manager model_product_pricelist_type product.group_product_manager 1 1 1 1
13 access_product_pricelist_manager product.pricelist manager model_product_pricelist product.group_product_manager 1 1 1 1