[IMP] projecT_timesheet: at the installation, automatically imply that all members of the 'employee' group are also members of the group that allows to see the 'work task' field, on a task.

bzr revid: qdp-launchpad@openerp.com-20120625123034-d0b3qnk08l39vq72
This commit is contained in:
Quentin (OpenERP) 2012-06-25 14:30:34 +02:00
parent c2b6c35dd9
commit fd9bdbb688
2 changed files with 16 additions and 1 deletions

View File

@ -36,7 +36,13 @@ the Timesheet line entries for particular date and particular user with the eff
'images': ['images/invoice_task_work.jpeg', 'images/my_timesheet.jpeg', 'images/working_hour.jpeg'],
'depends': ['project', 'hr_timesheet_sheet', 'hr_timesheet_invoice', 'account_analytic_analysis'],
'init_xml': ['project_timesheet_data.xml'],
'update_xml': ["security/ir.model.access.csv","process/project_timesheet_process.xml", "report/task_report_view.xml", "project_timesheet_view.xml"],
'update_xml': [
"security/ir.model.access.csv",
"security/project_timesheet_security.xml",
"process/project_timesheet_process.xml",
"report/task_report_view.xml",
"project_timesheet_view.xml",
],
'demo_xml': ["project_timesheet_demo.xml"],
'test': [
'test/worktask_entry_to_timesheetline_entry.yml',

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="0">
<record model="res.groups" id="base.group_user">
<field name="implied_ids" eval="[(4, ref('project.group_tasks_work_on_tasks'))]"/>
</record>
</data>
</openerp>