4 <record model="ir.ui.view" id="view_hr_evaluation_plan_form">
5 <field name="name">hr_evaluation.plan.form</field>
6 <field name="model">hr_evaluation.plan</field>
7 <field name="type">form</field>
8 <field name="arch" type="xml">
9 <form string="Evaluation Plan">
10 <group col="6" colspan="4">
11 <field name="name" select="1"/>
12 <field name="company_id" select="1" widget="selection"/>
13 <field name="active"/>
14 <field name="month_first"/>
15 <field name="month_next"/>
16 <label string="(months)" align="0.0"/>
18 <notebook colspan="4">
19 <page string="Evaluation Phases">
20 <field name="phase_ids" nolabel="1" colspan="4"/>
26 <record model="ir.ui.view" id="view_hr_evaluation_plan_tree">
27 <field name="name">hr_evaluation.plan.form</field>
28 <field name="model">hr_evaluation.plan</field>
29 <field name="type">tree</field>
30 <field name="arch" type="xml">
31 <tree string="Evaluation Plan">
33 <field name="month_first"/>
34 <field name="month_next"/>
35 <field name="company_id"/>
39 <record model="ir.actions.act_window" id="open_view_hr_evaluation_plan_tree">
40 <field name="res_model">hr_evaluation.plan</field>
41 <field name="view_type">form</field>
42 <field name="view_mode">tree,form</field>
44 <menuitem name="Evaluations" parent="hr.menu_hr_root" id="menu_eval_hr" sequence="3"/>
45 <!--menuitem name="HR Responsible" parent="menu_eval_hr" id="menu_resp_hr"/-->
47 name="Periodic Evaluations" parent="hr.menu_hr_configuration"
48 id="menu_open_view_hr_evaluation_plan_tree"
49 action="open_view_hr_evaluation_plan_tree"/>
51 <record model="ir.ui.view" id="view_hr_evaluation_plan_phase_form">
52 <field name="name">hr_evaluation.plan.phase.form</field>
53 <field name="model">hr_evaluation.plan.phase</field>
54 <field name="type">form</field>
55 <field name="arch" type="xml">
56 <form string="Evaluation Plan Phase">
57 <field name="plan_id" invisible="1"/>
58 <group col="6" colspan="4">
61 <field name="sequence"/>
63 <group col="4" colspan="4">
64 <separator string="Action to Perform" colspan="4"/>
65 <field name="action"/>
66 <field name="survey_id"/>
68 <group col="4" colspan="4">
69 <group col="4" colspan="2">
70 <separator string="Send to Managers" colspan="2"/>
72 <field name="send_answer_manager"/>
74 <field name="send_anonymous_manager"/>
76 <group col="4" colspan="2">
77 <separator string="Send to Employees" colspan="2"/>
79 <field name="send_answer_employee"/>
81 <field name="send_anonymous_employee"/>
87 <record model="ir.ui.view" id="view_hr_evaluation_plan_phase_tree">
88 <field name="name">hr_evaluation.plan.phase.form</field>
89 <field name="model">hr_evaluation.plan.phase</field>
90 <field name="type">tree</field>
91 <field name="arch" type="xml">
92 <tree string="Evaluation Plan Phase" editable="bottom" >
93 <field name="sequence"/>
95 <field name="action"/>
96 <field name="survey_id"/>
102 <record id="hr_hr_employee_view_form" model="ir.ui.view">
103 <field name="name">hr.hr.employee.view.form</field>
104 <field name="model">hr.employee</field>
105 <field name="inherit_id" ref="hr.view_employee_form"/>
106 <field name="arch" type="xml">
107 <notebook position="inside">
108 <page string="Evaluation">
109 <field name="evaluation_plan_id" on_change="onchange_evaluation_plan_id(evaluation_plan_id)"/>
110 <field name="evaluation_date"/>
116 <record model="ir.ui.view" id="view_hr_evaluation_form">
117 <field name="name">hr_evaluation.evaluation.form</field>
118 <field name="model">hr_evaluation.evaluation</field>
119 <field name="type">form</field>
120 <field name="arch" type="xml">
121 <form string="Evaluation">
122 <group col="4" colspan="3">
123 <separator string="Evaluation Data" colspan="4"/>
124 <field name="employee_id" on_change="onchange_employee_id(employee_id)"/>
125 <field name="plan_id"/>
127 <field name="progress" widget="progressbar"/>
129 <group col="2" colspan="1">
130 <separator string="Ending Summary" colspan="2"/>
131 <field name="rating" attrs="{'readonly':[('state','<>','progress')],'required':[('state','=','progress')]}"/>
132 <field name="date_close" readonly="1"/>
134 <notebook colspan="4">
135 <page string="Appraisal">
136 <field name="survey_request_ids" context="{'phase_id': phase_id}" nolabel="1" colspan="4" widget="one2many"/>
138 <page string="Internal Notes">
139 <field name="note_action" colspan="4" nolabel="1"
140 groups="hr.group_hr_manager"/>
142 <page string="Public Notes">
143 <field name="note_summary" colspan="4" nolabel="1"/>
147 <group col="6" colspan="4">
148 <field name="state"/>
149 <button name="button_plan_in_progress"
150 string="Plan In Progress"
153 <button name="button_final_validation"
154 string="Final Validation"
157 <button name="button_done"
161 <button name="button_cancel"
163 states="draft,wait,progress"
169 <record model="ir.ui.view" id="view_hr_evaluation_tree">
170 <field name="name">hr_evaluation.evaluation.tree</field>
171 <field name="model">hr_evaluation.evaluation</field>
172 <field name="type">tree</field>
173 <field name="arch" type="xml">
174 <tree string="Evaluation">
175 <!--field name="create_date"/-->
176 <field name="employee_id"/>
177 <field name="plan_id"/>
179 <field name="progress" widget="progressbar"/>
180 <field name="rating"/>
181 <field name="state"/>
186 <record id="hr_evaluation.evaluation_search" model="ir.ui.view">
187 <field name="name">hr_evaluation.evaluation_search</field>
188 <field name="model">hr_evaluation.evaluation</field>
189 <field name="type">search</field>
190 <field name="arch" type="xml">
191 <search string="Search Evaluation">
192 <group col='10' colspan='4'>
193 <filter icon="terp-hr" string="Draft" domain="[('state','=','draft')]"/>
194 <filter icon="terp-crm" string="In progress" domain="[('state','=','wait')]"/>
195 <filter icon="terp-mrp" string="Final Step" domain="[('state','=','progress')]"/>
196 <filter icon="terp-stock" string="Done" domain="[('state','=','done')]"/>
197 <separator orientation="vertical"/>
198 <field name="employee_id" widget="selection" select="1"/>
199 <field name="plan_id" widget="selection" select="1"/>
200 <field name="rating"/>
206 <record model="ir.actions.act_window" id="open_view_hr_evaluation_tree">
207 <field name="res_model">hr_evaluation.evaluation</field>
208 <field name="view_type">form</field>
209 <field name="view_mode">tree,form</field>
210 <field name="search_view_id" ref="hr_evaluation.evaluation_search"/>
213 name="Evaluation" parent="menu_eval_hr"
214 id="menu_open_view_hr_evaluation_tree"
215 action="open_view_hr_evaluation_tree"/>
217 <record model="ir.ui.view" id="view_hr_evaluation_interview_form">
218 <field name="name">hr_evaluation.interview.form</field>
219 <field name="model">hr.evaluation.interview</field>
220 <field name="type">form</field>
221 <field name="arch" type="xml">
222 <form string="Interview Evaluation">
223 <group col="4" colspan="4">
224 <field name="survey_id" colspan="3"/>
226 <button name="%(survey.action_view_survey_question_message)d" string="Interview Question" type="action"
227 icon="gtk-execute" context="{'survey_id': survey_id, 'response_id': [response], 'response_no':0, 'active' : response,'request' : True, 'object' : 'hr.evaluation.interview', 'cur_id' : active_id}" attrs="{'readonly':[('survey_id','=',False)]}"/>
228 <button name="%(survey.survey_browse_response)d" string="Print Interview" type="action"
229 icon="gtk-print" context="{'survey_id': survey_id, 'response_id' : [response], 'response_no':0,}" attrs="{'readonly':[('response','=',False)]}" />
232 <group col="4" colspan="4">
233 <field name="date_deadline"/>
234 <field name="response" readonly="1"/>
235 <field name="user_to_review_id"/>
236 <field name="user_id"/>
239 <separator string="State" colspan="4"/>
240 <group colspan="4" col="6">
241 <field name="state"/>
242 <button name="survey_req_draft" string="Set to Draft" states="cancel,done" type="object" icon="gtk-new"/>
243 <button name="survey_req_waiting_answer" string="Watting Answer" states="draft" type="object" icon="gtk-new"/>
244 <button name="survey_req_done" string="Done" states="waiting_answer" type="object" icon="gtk-ok"/>
245 <button name="survey_req_cancel" string="Cancelled" states="waiting_answer" type="object" icon="gtk-cancel"/>
251 <record model="ir.ui.view" id="view_hr_evaluation_interview_tree">
252 <field name="name">hr_evaluation.interview.tree</field>
253 <field name="model">hr.evaluation.interview</field>
254 <field name="type">tree</field>
255 <field name="arch" type="xml">
256 <tree string="Interview Evaluation">
257 <field name="date_deadline"/>
258 <field name="survey_id"/>
259 <field name="user_to_review_id"/>
260 <field name="response" readonly="1" invisible="True"/>
261 <button name="%(survey.action_view_survey_question_message)d" string="Interview Question" type="action" states="waiting_answer,done,cancel"
262 icon="gtk-execute" context="{'survey_id': survey_id, 'response_id': [response], 'response_no':0, 'active' : response, 'request' : True, 'object' : 'hr.evaluation.interview', 'cur_id' : active_id}" attrs="{'readonly':[('survey_id','=',False)]}"/>
263 <button name="%(survey.survey_browse_response)d" string="Print Interview" type="action" states="waiting_answer,done,cancel"
264 icon="gtk-print" context="{'survey_id': survey_id, 'response_id' : [response], 'response_no':0}" attrs="{'readonly':[('response','=',False)]}" />
265 <field name="state"/>
270 <record id="view_hr_evaluation_interview_search" model="ir.ui.view">
271 <field name="name">view_hr_evaluation_interview_search</field>
272 <field name="model">hr.evaluation.interview</field>
273 <field name="type">search</field>
274 <field name="arch" type="xml">
275 <search string="Search Evaluation">
276 <group col='10' colspan='4'>
277 <filter icon="terp-crm" string="Unanswered" domain="[('state','=','waiting_answer')]"/>
278 <filter icon="terp-stock" string="Late" domain="[('date_deadline','<',current_date)]"/>
279 <separator orientation="vertical"/>
280 <field name="survey_id" widget="selection" select="1"/>
281 <field name="email" select="1"/>
282 <field name="user_id" select="1" widget="selection" default="1">
283 <filter string="MY" icon="terp-partner" domain="[('user_id','=',uid)]"/>
290 <record model="ir.actions.act_window" id="action_hr_evaluation_interview_tree">
291 <field name="res_model">hr.evaluation.interview</field>
292 <field name="view_type">form</field>
293 <field name="view_mode">tree,form</field>
294 <field name="domain">[('is_evaluation' ,'=', True)]</field>
295 <field name="search_view_id" ref="view_hr_evaluation_interview_search"/>
299 name="Intreview Requests" parent="menu_eval_hr"
300 id="menu_open_hr_evaluation_interview_requests"
301 action="action_hr_evaluation_interview_tree"/>