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= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Sign In/Out By Project" >
2012-04-24 06:05:32 +00:00
<separator colspan= "4" string= "Sign In/Out by Project" />
2010-11-12 11:54:13 +00:00
<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." />
<newline />
2010-04-21 11:10:52 +00:00
<group colspan= "4" col= "6" >
2010-09-28 22:49:26 +00:00
<button icon= "gtk-cancel" special= "cancel" string= "Cancel" />
<button icon= "gtk-ok" string= "Sign in / Sign out" name= "check_state" type= "object" />
2010-04-21 11:10:52 +00:00
</group>
</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= "type" > form</field>
<field name= "arch" type= "xml" >
<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>
2010-04-21 11:10:52 +00:00
<group colspan= "4" col= "6" >
2010-09-28 22:49:26 +00:00
<button icon= "gtk-cancel" special= "cancel" string= "Cancel" />
<button icon= "gtk-ok" string= "Start Working" name= "sign_in_result" type= "object" />
2010-04-21 11:10:52 +00:00
</group>
</form>
</field>
</record>
2010-09-28 22:49:26 +00:00
<record id= "action_hr_timesheet_sign_in" model= "ir.actions.act_window" >
2010-04-21 11:10:52 +00:00
<field name= "name" > Sign in / Sign out by project</field>
<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= "type" > form</field>
<field name= "arch" type= "xml" >
<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" />
<label string= "(Keep empty for current_time)" colspan= "2" />
<field name= "analytic_amount" />
</group>
<separator string= "" colspan= "4" />
2010-04-21 11:10:52 +00:00
<group colspan= "4" col= "6" >
2010-09-28 22:49:26 +00:00
<button icon= "gtk-cancel" special= "cancel" string= "Cancel" />
<button icon= "gtk-ok" string= "Change Work" name= "sign_out_result" type= "object" />
<button icon= "gtk-ok" string= "Stop Working" name= "sign_out_result_end" type= "object" />
2010-04-21 11:10:52 +00:00
</group>
</form>
</field>
</record>
2010-09-28 22:49:26 +00:00
<record id= "action_hr_timesheet_sign_out" model= "ir.actions.act_window" >
2010-04-21 11:10:52 +00:00
<field name= "name" > Sign in / Sign out by project</field>
<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>