[Fix] Sign in / Sign out by project is not available if the project module is not installed

lp bug: https://launchpad.net/bugs/692971 fixed

bzr revid: sbh@tinyerp.com-20101222045353-vqzmi0z3hoduifba
This commit is contained in:
Sbh (OpenERP) 2010-12-22 10:23:53 +05:30
parent 82ab7cc65f
commit bffb6b96c7
2 changed files with 5 additions and 6 deletions

View File

@ -51,12 +51,6 @@
<field name="help">Employees can encode their time spent on the different projects. A project is an analytic account and the time spent on a project generate costs on the analytic account. This feature allows to record at the same time the attendance and the timesheet.</field>
</record>
<menuitem action="action_hr_timesheet_sign_in"
id="menu_hr_timesheet_sign_in"
groups="base.group_extended"
parent="hr_attendance.menu_hr_attendance"
sequence="5" />
<record id="view_hr_timesheet_sign_out" model="ir.ui.view">
<field name="name">hr.sign.out.project.form</field>
<field name="model">hr.sign.out.project</field>

View File

@ -123,6 +123,11 @@
<field name="search_view_id" ref="view_account_analytic_line_filter_inherit_buttons"/>
<field name="help">This lists show you every task work you can invoice to the customer. Select the lines in order to generate the invoices automatically.</field>
</record>
<menuitem action="hr_timesheet.action_hr_timesheet_sign_in"
id="menu_hr_timesheet_sign_in"
groups="base.group_extended"
parent="hr_attendance.menu_hr_attendance"
sequence="5" />
<menuitem id="menu_project_billing" name="Invoicing"
parent="base.menu_main_pm" sequence="5"/>