9 <record id="process_process_hrtimesheetworkflow0" model="process.process">
10 <field eval="1" name="active"/>
11 <field eval=""""Hr Timesheet Workflow"""" name="name"/>
18 <record id="process_node_analyticcost0" model="process.node">
19 <field name="menu_id" ref="hr_timesheet_sheet.menu_act_hr_timesheet_sheet_form_my_current"/>
20 <field name="model_id" ref="hr_timesheet_sheet.model_hr_timesheet_sheet_sheet"/>
21 <field eval=""""state"""" name="kind"/>
22 <field eval=""""Analytic cost"""" name="name"/>
23 <field eval=""""Analytic cost is created"""" name="note"/>
24 <field name="process_id" ref="hr_timesheet.process_process_timesheetworkflow0"/>
25 <field eval=""""object.state=='draft'"""" name="model_states"/>
26 <field eval="0" name="flow_start"/>
29 <record id="process_node_review0" model="process.node">
30 <field name="menu_id" ref="hr_timesheet_sheet.menu_act_hr_timesheet_sheet_form_my_current"/>
31 <field name="model_id" ref="hr_timesheet_sheet.model_hr_timesheet_sheet_sheet"/>
32 <field eval=""""state"""" name="kind"/>
33 <field eval=""""Review"""" name="name"/>
34 <field eval=""""Review end of day check day is complete"""" name="note"/>
35 <field name="process_id" ref="hr_timesheet.process_process_timesheetworkflow0"/>
36 <field eval=""""object.state=='draft'"""" name="model_states"/>
37 <field eval="0" name="flow_start"/>
40 <record id="process_node_timesheetconfirming0" model="process.node">
41 <field name="menu_id" ref="hr_timesheet_sheet.menu_act_hr_timesheet_sheet_form_my_current"/>
42 <field name="model_id" ref="hr_timesheet_sheet.model_hr_timesheet_sheet_sheet"/>
43 <field eval=""""subflow"""" name="kind"/>
44 <field eval=""""Timesheet"""" name="name"/>
45 <field eval=""""Timesheet sheet confirm at the end of the period"""" name="note"/>
46 <field name="subflow_id" ref="process_process_hrtimesheetworkflow0"/>
47 <field name="process_id" ref="hr_timesheet.process_process_timesheetworkflow0"/>
48 <field eval=""""object.state=='confirm'"""" name="model_states"/>
49 <field eval="0" name="flow_start"/>
52 <record id="process_node_timesheetline0" model="process.node">
53 <field name="menu_id" ref="hr_timesheet_sheet.menu_act_hr_timesheet_sheet_form_my_current"/>
54 <field name="model_id" ref="hr_timesheet_sheet.model_hr_timesheet_sheet_sheet"/>
55 <field eval=""""state"""" name="kind"/>
56 <field eval=""""Timesheet Line"""" name="name"/>
57 <field eval=""""Encode your timesheet line"""" name="note"/>
58 <field name="process_id" ref="hr_timesheet.process_process_timesheetworkflow0"/>
59 <field eval=""""object.state=='draft'"""" name="model_states"/>
60 <field eval="0" name="flow_start"/>
63 <record id="process_node_phonecall0" model="process.node">
64 <field name="menu_id" ref="hr_timesheet_sheet.menu_act_hr_timesheet_sheet_form_my_current"/>
65 <field name="model_id" ref="hr_timesheet_sheet.model_hr_timesheet_sheet_sheet"/>
66 <field eval=""""state"""" name="kind"/>
67 <field eval=""""Phone call"""" name="name"/>
68 <field eval=""""Whatever time u spent for phone call"""" name="note"/>
69 <field name="process_id" ref="hr_timesheet.process_process_timesheetworkflow0"/>
70 <field eval=""""object.state=='draft'"""" name="model_states"/>
71 <field eval="1" name="flow_start"/>
75 <record id="process_node_attendance0" model="process.node">
76 <field name="model_id" ref="hr.model_hr_employee"/>
77 <field eval=""""state"""" name="kind"/>
78 <field eval=""""Attendance"""" name="name"/>
79 <field eval=""""Defines employee's timesheet entry"""" name="note"/>
80 <field name="process_id" ref="process_process_hrtimesheetworkflow0"/>
81 <field eval="1" name="flow_start"/>
84 <record id="process_node_timesheet0" model="process.node">
85 <field name="menu_id" ref="hr_timesheet_sheet.menu_act_hr_timesheet_sheet_form_my_current"/>
86 <field name="model_id" ref="hr_timesheet_sheet.model_hr_timesheet_sheet_sheet"/>
87 <field eval=""""subflow"""" name="kind"/>
88 <field eval=""""Timesheet"""" name="name"/>
89 <field eval=""""Defines the task work entry into timesheet line"""" name="note"/>
90 <field name="process_id" ref="process_process_hrtimesheetworkflow0"/>
91 <field name="subflow_id" ref="hr_timesheet.process_process_timesheetworkflow0"/>
92 <field eval=""""object.state=='draft'"""" name="model_states"/>
93 <field eval="0" name="flow_start"/>
96 <record id="process_node_drafttimesheetsheet0" model="process.node">
97 <field name="menu_id" ref="hr_timesheet_sheet.menu_act_hr_timesheet_sheet_form_my_current"/>
98 <field name="model_id" ref="hr_timesheet_sheet.model_hr_timesheet_sheet_sheet"/>
99 <field eval=""""state"""" name="kind"/>
100 <field eval=""""Draft Timesheet sheet"""" name="name"/>
101 <field eval=""""Encode Your hours and Sign in / out"""" name="note"/>
102 <field name="process_id" ref="process_process_hrtimesheetworkflow0"/>
103 <field eval=""""object.state=='draft'"""" name="model_states"/>
104 <field eval="0" name="flow_start"/>
107 <record id="process_node_confirmedtimesheet0" model="process.node">
108 <field name="menu_id" ref="hr_timesheet_sheet.menu_act_hr_timesheet_sheet_form_my_current"/>
109 <field name="model_id" ref="hr_timesheet_sheet.model_hr_timesheet_sheet_sheet"/>
110 <field eval=""""state"""" name="kind"/>
111 <field eval=""""Confirmed Timesheet"""" name="name"/>
112 <field eval=""""At the end of the period (week/month)"""" name="note"/>
113 <field name="process_id" ref="process_process_hrtimesheetworkflow0"/>
114 <field eval=""""object.state=='confirm'"""" name="model_states"/>
115 <field eval="0" name="flow_start"/>
118 <record id="process_node_validatedtimesheet0" model="process.node">
119 <field name="menu_id" ref="hr_timesheet_sheet.menu_act_hr_timesheet_sheet_form_my_current"/>
120 <field name="model_id" ref="hr_timesheet_sheet.model_hr_timesheet_sheet_sheet"/>
121 <field eval=""""state"""" name="kind"/>
122 <field eval=""""Validated Timesheet"""" name="name"/>
123 <field eval=""""Control by the project manager"""" name="note"/>
124 <field name="process_id" ref="process_process_hrtimesheetworkflow0"/>
125 <field eval=""""object.state=='done'"""" name="model_states"/>
126 <field eval="0" name="flow_start"/>
129 <record id="process_node_invoiceonwork0" model="process.node">
130 <field name="menu_id" ref="account.menu_finance_invoice"/>
131 <field name="model_id" ref="account.model_account_invoice"/>
132 <field eval=""""state"""" name="kind"/>
133 <field eval=""""Invoice on Work"""" name="name"/>
134 <field eval=""""Invoice based on timesheet"""" name="note"/>
135 <field name="process_id" ref="process_process_hrtimesheetworkflow0"/>
136 <field eval=""""object.state=='draft'"""" name="model_states"/>
137 <field eval="0" name="flow_start"/>
144 <record id="res_roles_hr0" model="res.roles">
145 <field eval=""""HR"""" name="name"/>
148 <record id="hr_timesheet_sheet.t1" model="workflow.transition">
149 <field name="role_id" ref="res_roles_hr0"/>
152 <record id="process_transition_attendance0" model="process.transition">
153 <field eval="[(6,0,[])]" name="role_ids"/>
154 <field eval="[(6,0,[])]" name="transition_ids"/>
155 <field eval=""""Attendance"""" name="name"/>
156 <field eval=""""Attendance entry moves into the timesheet"""" name="note"/>
157 <field model="process.node" name="target_node_id" ref="process_node_drafttimesheetsheet0"/>
158 <field model="process.node" name="source_node_id" ref="process_node_attendance0"/>
161 <record id="process_transition_timesheet0" model="process.transition">
162 <field eval="[(6,0,[])]" name="role_ids"/>
163 <field eval="[(6,0,[])]" name="transition_ids"/>
164 <field eval=""""Timesheet"""" name="name"/>
165 <field eval=""""timesheet entry is into draft state."""" name="note"/>
166 <field model="process.node" name="target_node_id" ref="process_node_drafttimesheetsheet0"/>
167 <field model="process.node" name="source_node_id" ref="process_node_timesheet0"/>
170 <record id="process_transition_confirmtimesheet0" model="process.transition">
171 <field eval="[(6,0,[])]" name="role_ids"/>
172 <field eval="[(6,0,[])]" name="transition_ids"/>
173 <field eval=""""Confirm Timesheet"""" name="name"/>
174 <field eval=""""timesheet is confirmed at the end of the week / month"""" name="note"/>
175 <field model="process.node" name="target_node_id" ref="process_node_confirmedtimesheet0"/>
176 <field model="process.node" name="source_node_id" ref="process_node_drafttimesheetsheet0"/>
177 <field eval="[(6,0,[ref('hr_timesheet_sheet.t1')])]" name="transition_ids"/>
180 <record id="process_transition_validatetimesheet0" model="process.transition">
181 <field eval="[(6,0,[])]" name="role_ids"/>
182 <field eval="[(6,0,[])]" name="transition_ids"/>
183 <field eval=""""Validate Timesheet"""" name="name"/>
184 <field eval=""""Timesheet is validate by project manager."""" name="note"/>
185 <field model="process.node" name="target_node_id" ref="process_node_validatedtimesheet0"/>
186 <field model="process.node" name="source_node_id" ref="process_node_confirmedtimesheet0"/>
189 <record id="process_transition_invoiceontimesheet0" model="process.transition">
190 <field eval="[(6,0,[])]" name="role_ids"/>
191 <field eval="[(6,0,[])]" name="transition_ids"/>
192 <field eval=""""Invoice on timesheet"""" name="name"/>
193 <field eval=""""Creates invoice based on timesheet"""" name="note"/>
194 <field model="process.node" name="target_node_id" ref="process_node_invoiceonwork0"/>
195 <field model="process.node" name="source_node_id" ref="process_node_confirmedtimesheet0"/>
198 <record id="process_transition_phonecallencoding0" model="process.transition">
199 <field eval="[(6,0,[])]" name="role_ids"/>
200 <field eval="[(6,0,[])]" name="transition_ids"/>
201 <field eval=""""Phone call encoding"""" name="name"/>
202 <field eval=""""Encode how much time u spent on phone call"""" name="note"/>
203 <field model="process.node" name="target_node_id" ref="process_node_timesheetline0"/>
204 <field model="process.node" name="source_node_id" ref="process_node_phonecall0"/>
207 <record id="process_transition_createanalyticcose0" model="process.transition">
208 <field eval="[(6,0,[])]" name="role_ids"/>
209 <field eval="[(6,0,[])]" name="transition_ids"/>
210 <field eval=""""Create Analytic cost"""" name="name"/>
211 <field eval=""""Creates your analytic cost accoording to quantity"""" name="note"/>
212 <field model="process.node" name="target_node_id" ref="process_node_analyticcost0"/>
213 <field model="process.node" name="source_node_id" ref="process_node_timesheetline0"/>
216 <record id="process_transition_reviewofwork0" model="process.transition">
217 <field eval="[(6,0,[])]" name="role_ids"/>
218 <field eval="[(6,0,[])]" name="transition_ids"/>
219 <field eval=""""Review of work"""" name="name"/>
220 <field eval=""""Review of your work at the end of the day"""" name="note"/>
221 <field model="process.node" name="target_node_id" ref="process_node_review0"/>
222 <field model="process.node" name="source_node_id" ref="process_node_timesheetline0"/>
225 <record id="process_transition_confirmtimesheetsheet0" model="process.transition">
226 <field eval="[(6,0,[])]" name="role_ids"/>
227 <field eval="[(6,0,[])]" name="transition_ids"/>
228 <field eval=""""Confirm timesheet sheet"""" name="name"/>
229 <field eval=""""Confirm timesheet at the end of the period"""" name="note"/>
230 <field model="process.node" name="target_node_id" ref="process_node_timesheetconfirming0"/>
231 <field model="process.node" name="source_node_id" ref="process_node_review0"/>
238 <record id="process_transition_action_draftconfirmtimesheet0" model="process.transition.action">
239 <field eval=""""button_confirm"""" name="action"/>
240 <field eval=""""object"""" name="state"/>
241 <field eval=""""Confirm"""" name="name"/>
242 <field name="transition_id" ref="process_transition_confirmtimesheet0"/>
245 <record id="process_transition_action_validatetimesheet0" model="process.transition.action">
246 <field eval=""""write({'state':'done'})"""" name="action"/>
247 <field eval=""""object"""" name="state"/>
248 <field eval=""""Validate"""" name="name"/>
249 <field name="transition_id" ref="process_transition_validatetimesheet0"/>
252 <record id="process_transition_action_refusetimesheet0" model="process.transition.action">
253 <field eval=""""write({'state':'draft'})"""" name="action"/>
254 <field eval=""""object"""" name="state"/>
255 <field eval=""""Refuse"""" name="name"/>
256 <field name="transition_id" ref="process_transition_validatetimesheet0"/>
259 <record id="process_transition_action_reviewtimesheet0" model="process.transition.action">
260 <field eval=""""button_confirm"""" name="action"/>
261 <field eval=""""object"""" name="state"/>
262 <field eval=""""Review"""" name="name"/>
263 <field name="transition_id" ref="process_transition_confirmtimesheetsheet0"/>