9 <record id="process_process_hrtimesheetworkflow0" model="process.process">
10 <field eval=""""Hr Timesheet flow for services companies."""" name="note"/>
11 <field eval="1" name="active"/>
12 <field eval=""""Hr Timesheet Workflow"""" 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_timesheetworkflow0"/>
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_timesheetworkflow0"/>
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 Confirming"""" name="name"/>
46 <field eval=""""Timesheet sheet confirm at the end of the period"""" name="note"/>
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="menu_id" ref="hr_attendance.menu_si_so"/>
77 <field name="model_id" ref="hr.model_hr_employee"/>
78 <field eval=""""state"""" name="kind"/>
79 <field eval=""""Attendance"""" name="name"/>
80 <field eval=""""Defines employee's timesheet entry"""" name="note"/>
81 <field name="process_id" ref="process_process_hrtimesheetworkflow0"/>
82 <field eval="1" name="flow_start"/>
85 <record id="process_node_timesheet0" model="process.node">
86 <field name="menu_id" ref="hr_timesheet_sheet.menu_act_hr_timesheet_sheet_form_my_current"/>
87 <field name="model_id" ref="hr_timesheet_sheet.model_hr_timesheet_sheet_sheet"/>
88 <field eval=""""subflow"""" name="kind"/>
89 <field eval=""""Timesheet"""" name="name"/>
90 <field eval=""""Defines the task work entry into timesheet line"""" name="note"/>
91 <field name="process_id" ref="process_process_hrtimesheetworkflow0"/>
92 <field name="subflow_id" ref="hr_timesheet.process_process_timesheetworkflow0"/>
93 <field eval=""""object.state=='draft'"""" name="model_states"/>
94 <field eval="0" name="flow_start"/>
97 <record id="process_node_drafttimesheetsheet0" model="process.node">
98 <field name="menu_id" ref="hr_timesheet_sheet.menu_act_hr_timesheet_sheet_form_my_current"/>
99 <field name="model_id" ref="hr_timesheet_sheet.model_hr_timesheet_sheet_sheet"/>
100 <field eval=""""state"""" name="kind"/>
101 <field eval=""""Draft Timesheet sheet"""" name="name"/>
102 <field eval=""""Encode Your hours and Sign in / out"""" name="note"/>
103 <field name="process_id" ref="process_process_hrtimesheetworkflow0"/>
104 <field eval=""""object.state=='draft'"""" name="model_states"/>
105 <field eval="0" name="flow_start"/>
108 <record id="process_node_confirmedtimesheet0" model="process.node">
109 <field name="menu_id" ref="hr_timesheet_sheet.menu_act_hr_timesheet_sheet_form_my_current"/>
110 <field name="model_id" ref="hr_timesheet_sheet.model_hr_timesheet_sheet_sheet"/>
111 <field eval=""""state"""" name="kind"/>
112 <field eval=""""Confirmed Timesheet"""" name="name"/>
113 <field eval=""""At the end of the period (week/month)"""" name="note"/>
114 <field name="process_id" ref="process_process_hrtimesheetworkflow0"/>
115 <field eval=""""object.state=='confirm'"""" name="model_states"/>
116 <field eval="0" name="flow_start"/>
119 <record id="process_node_validatedtimesheet0" model="process.node">
120 <field name="menu_id" ref="hr_timesheet_sheet.menu_act_hr_timesheet_sheet_form_my_current"/>
121 <field name="model_id" ref="hr_timesheet_sheet.model_hr_timesheet_sheet_sheet"/>
122 <field eval=""""state"""" name="kind"/>
123 <field eval=""""Validated Timesheet"""" name="name"/>
124 <field eval=""""Control by the project manager"""" name="note"/>
125 <field name="process_id" ref="process_process_hrtimesheetworkflow0"/>
126 <field eval=""""object.state=='done'"""" name="model_states"/>
127 <field eval="0" name="flow_start"/>
130 <record id="process_node_invoiceonwork0" model="process.node">
131 <field name="menu_id" ref="account.menu_finance_invoice"/>
132 <field name="model_id" ref="account.model_account_invoice"/>
133 <field eval=""""state"""" name="kind"/>
134 <field eval=""""Invoice on Work"""" name="name"/>
135 <field eval=""""Invoice based on timesheet"""" name="note"/>
136 <field name="process_id" ref="process_process_hrtimesheetworkflow0"/>
137 <field eval=""""object.state=='draft'"""" name="model_states"/>
138 <field eval="0" name="flow_start"/>
145 <record id="res_roles_hr0" model="res.roles">
146 <field eval=""""HR"""" name="name"/>
149 <record id="hr_timesheet_sheet.t1" model="workflow.transition">
150 <field name="role_id" ref="res_roles_hr0"/>
153 <record id="process_transition_attendance0" model="process.transition">
154 <field eval="[(6,0,[])]" name="role_ids"/>
155 <field eval="[(6,0,[])]" name="transition_ids"/>
156 <field eval=""""Attendance"""" name="name"/>
157 <field eval=""""Attendance entry moves into the timesheet"""" name="note"/>
158 <field model="process.node" name="target_node_id" ref="process_node_drafttimesheetsheet0"/>
159 <field model="process.node" name="source_node_id" ref="process_node_attendance0"/>
162 <record id="process_transition_timesheet0" model="process.transition">
163 <field eval="[(6,0,[])]" name="role_ids"/>
164 <field eval="[(6,0,[])]" name="transition_ids"/>
165 <field eval=""""Timesheet"""" name="name"/>
166 <field eval=""""timesheet entry is into draft state."""" name="note"/>
167 <field model="process.node" name="target_node_id" ref="process_node_drafttimesheetsheet0"/>
168 <field model="process.node" name="source_node_id" ref="process_node_timesheet0"/>
171 <record id="process_transition_confirmtimesheet0" model="process.transition">
172 <field eval="[(6,0,[])]" name="role_ids"/>
173 <field eval="[(6,0,[])]" name="transition_ids"/>
174 <field eval=""""Confirm Timesheet"""" name="name"/>
175 <field eval=""""timesheet is confirmed at the end of the week / month"""" name="note"/>
176 <field model="process.node" name="target_node_id" ref="process_node_confirmedtimesheet0"/>
177 <field model="process.node" name="source_node_id" ref="process_node_drafttimesheetsheet0"/>
178 <field eval="[(6,0,[ref('hr_timesheet_sheet.t1')])]" name="transition_ids"/>
181 <record id="process_transition_validatetimesheet0" model="process.transition">
182 <field eval="[(6,0,[])]" name="role_ids"/>
183 <field eval="[(6,0,[])]" name="transition_ids"/>
184 <field eval=""""Validate Timesheet"""" name="name"/>
185 <field eval=""""Timesheet is validate by project manager."""" name="note"/>
186 <field model="process.node" name="target_node_id" ref="process_node_validatedtimesheet0"/>
187 <field model="process.node" name="source_node_id" ref="process_node_confirmedtimesheet0"/>
190 <record id="process_transition_invoiceontimesheet0" model="process.transition">
191 <field eval="[(6,0,[])]" name="role_ids"/>
192 <field eval="[(6,0,[])]" name="transition_ids"/>
193 <field eval=""""Invoice on timesheet"""" name="name"/>
194 <field eval=""""Creates invoice based on timesheet"""" name="note"/>
195 <field model="process.node" name="target_node_id" ref="process_node_invoiceonwork0"/>
196 <field model="process.node" name="source_node_id" ref="process_node_confirmedtimesheet0"/>
199 <record id="process_transition_phonecallencoding0" model="process.transition">
200 <field eval="[(6,0,[])]" name="role_ids"/>
201 <field eval="[(6,0,[])]" name="transition_ids"/>
202 <field eval=""""Phone call encoding"""" name="name"/>
203 <field eval=""""Encode how much time u spent on phone call"""" name="note"/>
204 <field model="process.node" name="target_node_id" ref="process_node_timesheetline0"/>
205 <field model="process.node" name="source_node_id" ref="process_node_phonecall0"/>
208 <record id="process_transition_createanalyticcose0" model="process.transition">
209 <field eval="[(6,0,[])]" name="role_ids"/>
210 <field eval="[(6,0,[])]" name="transition_ids"/>
211 <field eval=""""Create Analytic cost"""" name="name"/>
212 <field eval=""""Creates your analytic cost accoording to quantity"""" name="note"/>
213 <field model="process.node" name="target_node_id" ref="process_node_analyticcost0"/>
214 <field model="process.node" name="source_node_id" ref="process_node_timesheetline0"/>
217 <record id="process_transition_reviewofwork0" model="process.transition">
218 <field eval="[(6,0,[])]" name="role_ids"/>
219 <field eval="[(6,0,[])]" name="transition_ids"/>
220 <field eval=""""Review of work"""" name="name"/>
221 <field eval=""""Review of your work at the end of the day"""" name="note"/>
222 <field model="process.node" name="target_node_id" ref="process_node_review0"/>
223 <field model="process.node" name="source_node_id" ref="process_node_timesheetline0"/>
226 <record id="process_transition_confirmtimesheetsheet0" model="process.transition">
227 <field eval="[(6,0,[])]" name="role_ids"/>
228 <field eval="[(6,0,[])]" name="transition_ids"/>
229 <field eval=""""Confirm timesheet sheet"""" name="name"/>
230 <field eval=""""Confirm timesheet at the end of the period"""" name="note"/>
231 <field model="process.node" name="target_node_id" ref="process_node_timesheetconfirming0"/>
232 <field model="process.node" name="source_node_id" ref="process_node_review0"/>
239 <record id="process_transition_action_draftconfirmtimesheet0" model="process.transition.action">
240 <field eval=""""button_confirm"""" name="action"/>
241 <field eval=""""object"""" name="state"/>
242 <field eval=""""Confirm"""" name="name"/>
243 <field name="transition_id" ref="process_transition_confirmtimesheet0"/>
246 <record id="process_transition_action_validatetimesheet0" model="process.transition.action">
247 <field eval=""""write({'state':'done'})"""" name="action"/>
248 <field eval=""""object"""" name="state"/>
249 <field eval=""""Validate"""" name="name"/>
250 <field name="transition_id" ref="process_transition_validatetimesheet0"/>
253 <record id="process_transition_action_refusetimesheet0" model="process.transition.action">
254 <field eval=""""write({'state':'draft'})"""" name="action"/>
255 <field eval=""""object"""" name="state"/>
256 <field eval=""""Refuse"""" name="name"/>
257 <field name="transition_id" ref="process_transition_validatetimesheet0"/>
260 <record id="process_transition_action_reviewtimesheet0" model="process.transition.action">
261 <field eval=""""button_confirm"""" name="action"/>
262 <field eval=""""object"""" name="state"/>
263 <field eval=""""Review"""" name="name"/>
264 <field name="transition_id" ref="process_transition_confirmtimesheetsheet0"/>