2010-04-21 11:10:52 +00:00
<?xml version="1.0" encoding="utf-8"?>
<openerp >
<data >
2010-09-28 22:49:26 +00:00
<record id= "view_hr_timesheet_sign_in_message" model= "ir.ui.view" >
2010-04-21 11:10:52 +00:00
<field name= "name" > hr.sign.in.project.message.form</field>
<field name= "model" > hr.sign.in.project</field>
<field name= "arch" type= "xml" >
2014-06-12 07:09:59 +00:00
<form string= "Sign In/Out by Project" >
2012-06-20 07:37:12 +00:00
<group >
<separator colspan= "4" string= "Sign In/Out by Project" />
<label colspan= "4" nolabel= "1" string= "Employees can encode their time spent on the different projects they are assigned on. A project is an analytic account and the time spent on a project generates costs on the analytic account. This feature allows to record at the same time the attendance and the timesheet." />
</group>
2012-07-10 16:40:11 +00:00
<footer >
<button string= "Sign in / Sign out" name= "check_state" type= "object" class= "oe_highlight" />
or
<button string= "Cancel" class= "oe_link" special= "cancel" />
</footer>
2010-04-21 11:10:52 +00:00
</form>
</field>
</record>
2010-09-28 22:49:26 +00:00
<record id= "view_hr_timesheet_sign_in" model= "ir.ui.view" >
2010-04-21 11:10:52 +00:00
<field name= "name" > hr.sign.in.project.form</field>
<field name= "model" > hr.sign.in.project</field>
<field name= "arch" type= "xml" >
2014-06-12 07:09:59 +00:00
<form string= "Sign In/Out by Project" >
2010-09-28 22:49:26 +00:00
<group colspan= "4" >
<separator string= "Sign in" colspan= "4" />
2010-12-29 17:07:59 +00:00
<field name= "name" readonly= "True" />
2010-09-28 22:49:26 +00:00
<field name= "state" readonly= "True" />
<field name= "server_date" />
<label string= "(local time on the server side)" colspan= "2" />
<field name= "date" />
<label string= "(Keep empty for current time)" colspan= "2" />
</group>
2012-07-10 16:40:11 +00:00
<footer >
<button string= "Start Working" name= "sign_in_result" type= "object" class= "oe_highlight" />
or
<button string= "Cancel" class= "oe_link" special= "cancel" />
</footer>
2010-04-21 11:10:52 +00:00
</form>
</field>
</record>
2010-09-28 22:49:26 +00:00
<record id= "action_hr_timesheet_sign_in" model= "ir.actions.act_window" >
2013-05-28 09:35:17 +00:00
<field name= "name" > Sign in / Sign out by Project</field>
2010-04-21 11:10:52 +00:00
<field name= "res_model" > hr.sign.in.project</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > tree,form</field>
2010-07-20 06:30:22 +00:00
<field name= "view_id" ref= "view_hr_timesheet_sign_in_message" />
<field name= "target" > new</field>
<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>
2010-04-21 11:10:52 +00:00
</record>
2010-09-28 22:49:26 +00:00
<record id= "view_hr_timesheet_sign_out" model= "ir.ui.view" >
2010-04-21 11:10:52 +00:00
<field name= "name" > hr.sign.out.project.form</field>
<field name= "model" > hr.sign.out.project</field>
<field name= "arch" type= "xml" >
2014-06-12 07:09:59 +00:00
<form string= "Sign In/Out by Project" >
2010-09-28 22:49:26 +00:00
<group colspan= "4" >
<separator string= "General Information" colspan= "4" />
<field name= "name" readonly= "True" />
<field name= "state" readonly= "True" />
<field name= "date_start" />
<field name= "server_date" />
<separator string= "Work done in the last period" colspan= "4" />
2010-12-29 17:07:59 +00:00
<field name= "account_id" colspan= "2" />
2010-09-28 22:49:26 +00:00
<field name= "info" colspan= "2" />
<field name= "date" />
2013-05-28 09:35:17 +00:00
<label string= "(Keep empty for current time)" colspan= "2" />
2010-09-28 22:49:26 +00:00
<field name= "analytic_amount" />
</group>
2012-06-18 05:50:05 +00:00
2012-07-10 16:40:11 +00:00
<footer >
<button string= "Change Work" name= "sign_out_result" type= "object" class= "oe_highlight" />
<button string= "Stop Working" name= "sign_out_result_end" type= "object" class= "oe_highlight" />
or
<button string= "Cancel" class= "oe_link" special= "cancel" />
</footer>
2010-04-21 11:10:52 +00:00
</form>
</field>
</record>
2010-09-28 22:49:26 +00:00
<record id= "action_hr_timesheet_sign_out" model= "ir.actions.act_window" >
2013-05-28 09:35:17 +00:00
<field name= "name" > Sign in / Sign out by Project</field>
2010-04-21 11:10:52 +00:00
<field name= "res_model" > hr.sign.out.project</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > tree,form</field>
<field name= "view_id" ref= "view_hr_timesheet_sign_out" />
<field name= "target" > new</field>
</record>
</data>
</openerp>