9 <record id="process_process_hrtimesheetprocess0" model="process.process">
10 <field eval="1" name="active"/>
11 <field name="model_id" ref="hr_timesheet_sheet.model_hr_timesheet_sheet_sheet"/>
12 <field eval=""""Hr Timesheet Process"""" name="name"/>
19 <record id="process_node_analyticcost0" model="process.node">
20 <field name="menu_id" ref="hr_timesheet_sheet.menu_act_hr_timesheet_sheet_form_my_current"/>
21 <field name="model_id" ref="hr_timesheet_sheet.model_hr_timesheet_sheet_sheet"/>
22 <field eval=""""state"""" name="kind"/>
23 <field eval=""""Analytic cost"""" name="name"/>
24 <field eval=""""Analytic cost is created"""" name="note"/>
25 <field name="process_id" ref="hr_timesheet.process_process_timesheetprocess0"/>
26 <field eval=""""object.state=='draft'"""" name="model_states"/>
27 <field eval="0" name="flow_start"/>
30 <record id="process_node_review0" model="process.node">
31 <field name="menu_id" ref="hr_timesheet_sheet.menu_act_hr_timesheet_sheet_form_my_current"/>
32 <field name="model_id" ref="hr_timesheet_sheet.model_hr_timesheet_sheet_sheet"/>
33 <field eval=""""state"""" name="kind"/>
34 <field eval=""""Review"""" name="name"/>
35 <field eval=""""Review end of day check day is complete"""" name="note"/>
36 <field name="process_id" ref="hr_timesheet.process_process_timesheetprocess0"/>
37 <field eval=""""object.state=='draft'"""" name="model_states"/>
38 <field eval="0" name="flow_start"/>
41 <record id="process_node_timesheetconfirming0" model="process.node">
42 <field name="menu_id" ref="hr_timesheet_sheet.menu_act_hr_timesheet_sheet_form_my_current"/>
43 <field name="model_id" ref="hr_timesheet_sheet.model_hr_timesheet_sheet_sheet"/>
44 <field eval=""""subflow"""" name="kind"/>
45 <field eval=""""Timesheet"""" name="name"/>
46 <field eval=""""Information of time spent on a service"""" name="note"/>
47 <field name="subflow_id" ref="process_process_hrtimesheetprocess0"/>
48 <field name="process_id" ref="hr_timesheet.process_process_timesheetprocess0"/>
49 <field eval=""""object.state=='confirm'"""" name="model_states"/>
50 <field eval="0" name="flow_start"/>
53 <record id="process_node_timesheetline0" model="process.node">
54 <field name="menu_id" ref="hr_timesheet_sheet.menu_act_hr_timesheet_sheet_form_my_current"/>
55 <field name="model_id" ref="hr_timesheet_sheet.model_hr_timesheet_sheet_sheet"/>
56 <field eval=""""state"""" name="kind"/>
57 <field eval=""""Timesheet Line"""" name="name"/>
58 <field eval=""""Encode your timesheet line"""" name="note"/>
59 <field name="process_id" ref="hr_timesheet.process_process_timesheetprocess0"/>
60 <field eval=""""object.state=='draft'"""" name="model_states"/>
61 <field eval="0" name="flow_start"/>
64 <record id="process_node_phonecall0" model="process.node">
65 <field name="menu_id" ref="hr_timesheet_sheet.menu_act_hr_timesheet_sheet_form_my_current"/>
66 <field name="model_id" ref="hr_timesheet_sheet.model_hr_timesheet_sheet_sheet"/>
67 <field eval=""""state"""" name="kind"/>
68 <field eval=""""Phone call"""" name="name"/>
69 <field eval=""""Whatever time u spent for phone call"""" name="note"/>
70 <field name="process_id" ref="hr_timesheet.process_process_timesheetprocess0"/>
71 <field eval=""""object.state=='draft'"""" name="model_states"/>
72 <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=""""Employee's timesheet entry"""" name="note"/>
80 <field name="process_id" ref="process_process_hrtimesheetprocess0"/>
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_hrtimesheetprocess0"/>
91 <field name="subflow_id" ref="hr_timesheet.process_process_timesheetprocess0"/>
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"""" name="name"/>
101 <field eval=""""State is draft."""" name="note"/>
102 <field name="process_id" ref="process_process_hrtimesheetprocess0"/>
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=""""State is confirmed."""" name="note"/>
113 <field name="process_id" ref="process_process_hrtimesheetprocess0"/>
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=""""State is validated."""" name="note"/>
124 <field name="process_id" ref="process_process_hrtimesheetprocess0"/>
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=""""subflow"""" name="kind"/>
133 <field eval=""""Invoice on Work"""" name="name"/>
134 <field eval=""""Based on the timesheet"""" name="note"/>
135 <field name="subflow_id" ref="account.process_process_invoiceprocess0"/>
136 <field name="process_id" ref="process_process_hrtimesheetprocess0"/>
137 <field eval=""""object.state=='draft'"""" name="model_states"/>
138 <field eval="0" name="flow_start"/>
141 <record id="process_node_workontask0" model="process.node">
142 <field name="menu_id" ref="hr_timesheet_sheet.menu_act_hr_timesheet_sheet_form_my_current"/>
143 <field name="model_id" ref="hr_timesheet_sheet.model_hr_timesheet_sheet_sheet"/>
144 <field eval=""""state"""" name="kind"/>
145 <field eval=""""Work on Task"""" name="name"/>
146 <field eval=""""Defines the work summary of task"""" name="note"/>
147 <field name="process_id" ref="hr_timesheet_sheet.process_process_hrtimesheetprocess0"/>
148 <field eval=""""object.state in ('open', pending', 'done', 'cancelled')"""" name="model_states"/>
149 <field eval="1" name="flow_start"/>
156 <record id="res_roles_hr0" model="res.roles">
157 <field eval=""""HR"""" name="name"/>
160 <record id="hr_timesheet_sheet.t1" model="workflow.transition">
161 <field name="role_id" ref="res_roles_hr0"/>
164 <record id="process_transition_attendancetimesheet0" model="process.transition">
165 <field eval="[(6,0,[])]" name="role_ids"/>
166 <field eval="[(6,0,[])]" name="transition_ids"/>
167 <field eval=""""Sign in/out"""" name="name"/>
168 <field eval=""""The employee signs in and signs out."""" name="note"/>
169 <field model="process.node" name="target_node_id" ref="process_node_drafttimesheetsheet0"/>
170 <field model="process.node" name="source_node_id" ref="process_node_attendance0"/>
173 <record id="process_transition_timesheetdraft0" model="process.transition">
174 <field eval="[(6,0,[])]" name="role_ids"/>
175 <field eval="[(6,0,[])]" name="transition_ids"/>
176 <field eval=""""Service"""" name="name"/>
177 <field eval=""""The timesheet line represents the time spent by the employee on a specific service provided."""" name="note"/>
178 <field model="process.node" name="target_node_id" ref="process_node_drafttimesheetsheet0"/>
179 <field model="process.node" name="source_node_id" ref="process_node_timesheet0"/>
182 <record id="process_transition_confirmtimesheet0" model="process.transition">
183 <field eval="[(6,0,[])]" name="role_ids"/>
184 <field eval="[(6,0,[])]" name="transition_ids"/>
185 <field eval=""""Confirmation"""" name="name"/>
186 <field eval=""""The employee periodically confirms his own timesheets."""" name="note"/>
187 <field model="process.node" name="target_node_id" ref="process_node_confirmedtimesheet0"/>
188 <field model="process.node" name="source_node_id" ref="process_node_drafttimesheetsheet0"/>
189 <field eval="[(6,0,[ref('hr_timesheet_sheet.t1')])]" name="transition_ids"/>
192 <record id="process_transition_validatetimesheet0" model="process.transition">
193 <field eval="[(6,0,[])]" name="role_ids"/>
194 <field eval="[(6,0,[])]" name="transition_ids"/>
195 <field eval=""""Validation"""" name="name"/>
196 <field eval=""""The project manager validates the timesheets."""" name="note"/>
197 <field model="process.node" name="target_node_id" ref="process_node_validatedtimesheet0"/>
198 <field model="process.node" name="source_node_id" ref="process_node_confirmedtimesheet0"/>
201 <record id="process_transition_invoiceontimesheet0" model="process.transition">
202 <field eval="[(6,0,[])]" name="role_ids"/>
203 <field eval="[(6,0,[])]" name="transition_ids"/>
204 <field eval=""""Invoicing"""" name="name"/>
205 <field eval=""""The invoice is created based on the timesheet."""" name="note"/>
206 <field model="process.node" name="target_node_id" ref="process_node_invoiceonwork0"/>
207 <field model="process.node" name="source_node_id" ref="process_node_confirmedtimesheet0"/>
210 <record id="process_transition_phonecallencoding0" model="process.transition">
211 <field eval="[(6,0,[])]" name="role_ids"/>
212 <field eval="[(6,0,[])]" name="transition_ids"/>
213 <field eval=""""Phone call encoding"""" name="name"/>
214 <field eval=""""Encode how much time u spent on phone call"""" name="note"/>
215 <field model="process.node" name="target_node_id" ref="process_node_timesheetline0"/>
216 <field model="process.node" name="source_node_id" ref="process_node_phonecall0"/>
219 <record id="process_transition_createanalyticcose0" model="process.transition">
220 <field eval="[(6,0,[])]" name="role_ids"/>
221 <field eval="[(6,0,[])]" name="transition_ids"/>
222 <field eval=""""Create Analytic cost"""" name="name"/>
223 <field eval=""""Creates your analytic cost accoording to quantity"""" name="note"/>
224 <field model="process.node" name="target_node_id" ref="process_node_analyticcost0"/>
225 <field model="process.node" name="source_node_id" ref="process_node_timesheetline0"/>
228 <record id="process_transition_reviewofwork0" model="process.transition">
229 <field eval="[(6,0,[])]" name="role_ids"/>
230 <field eval="[(6,0,[])]" name="transition_ids"/>
231 <field eval=""""Review of work"""" name="name"/>
232 <field eval=""""Review of your work at the end of the day"""" name="note"/>
233 <field model="process.node" name="target_node_id" ref="process_node_review0"/>
234 <field model="process.node" name="source_node_id" ref="process_node_timesheetline0"/>
237 <record id="process_transition_confirmtimesheetsheet0" model="process.transition">
238 <field eval="[(6,0,[])]" name="role_ids"/>
239 <field eval="[(6,0,[])]" name="transition_ids"/>
240 <field eval=""""Confirm timesheet sheet"""" name="name"/>
241 <field eval=""""Confirm timesheet at the end of the period"""" name="note"/>
242 <field model="process.node" name="target_node_id" ref="process_node_timesheetconfirming0"/>
243 <field model="process.node" name="source_node_id" ref="process_node_review0"/>
246 <record id="process_transition_tasktimesheet0" model="process.transition">
247 <field eval="[(6,0,[])]" name="role_ids"/>
248 <field eval="[(6,0,[])]" name="transition_ids"/>
249 <field eval=""""Task timesheet"""" name="name"/>
250 <field eval=""""Moves task entry into the timesheet line"""" name="note"/>
251 <field model="process.node" name="target_node_id" ref="process_node_timesheet0"/>
252 <field model="process.node" name="source_node_id" ref="process_node_workontask0"/>
259 <record id="process_transition_action_draftconfirmtimesheet0" model="process.transition.action">
260 <field eval=""""button_confirm"""" name="action"/>
261 <field eval=""""object"""" name="state"/>
262 <field eval=""""Confirm"""" name="name"/>
263 <field name="transition_id" ref="process_transition_confirmtimesheet0"/>
266 <record id="process_transition_action_validatetimesheet0" model="process.transition.action">
267 <field eval=""""write({'state':'done'})"""" name="action"/>
268 <field eval=""""object"""" name="state"/>
269 <field eval=""""Validate"""" name="name"/>
270 <field name="transition_id" ref="process_transition_validatetimesheet0"/>
273 <record id="process_transition_action_refusetimesheet0" model="process.transition.action">
274 <field eval=""""write({'state':'draft'})"""" name="action"/>
275 <field eval=""""object"""" name="state"/>
276 <field eval=""""Refuse"""" name="name"/>
277 <field name="transition_id" ref="process_transition_validatetimesheet0"/>
280 <record id="process_transition_action_reviewtimesheet0" model="process.transition.action">
281 <field eval=""""button_confirm"""" name="action"/>
282 <field eval=""""object"""" name="state"/>
283 <field eval=""""Review"""" name="name"/>
284 <field name="transition_id" ref="process_transition_confirmtimesheetsheet0"/>