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="name">Evaluation Plans</field>
41 <field name="res_model">hr_evaluation.plan</field>
42 <field name="view_type">form</field>
43 <field name="view_mode">tree,form</field>
45 <menuitem name="Evaluations" parent="hr.menu_hr_root" id="menu_eval_hr" sequence="3"/>
48 name="Evaluations" parent="hr.menu_hr_configuration" id="menu_eval_hr_config" sequence="3"/>
50 parent="menu_eval_hr_config"
51 id="menu_open_view_hr_evaluation_plan_tree"
52 action="open_view_hr_evaluation_plan_tree"/>
54 <record model="ir.ui.view" id="view_hr_evaluation_plan_phase_form">
55 <field name="name">hr_evaluation.plan.phase.form</field>
56 <field name="model">hr_evaluation.plan.phase</field>
57 <field name="type">form</field>
58 <field name="arch" type="xml">
59 <form string="Evaluation Plan Phase">
60 <field name="plan_id" invisible="1"/>
61 <group col="6" colspan="4">
64 <field name="sequence"/>
66 <group col="4" colspan="4">
67 <separator string="Action to Perform" colspan="4"/>
68 <field name="action"/>
69 <field name="survey_id"/>
71 <group col="4" colspan="4">
72 <group col="4" colspan="2">
73 <separator string="Send to Managers" colspan="2"/>
75 <field name="send_answer_manager"/>
77 <field name="send_anonymous_manager"/>
79 <group col="4" colspan="2">
80 <separator string="Send to Employees" colspan="2"/>
82 <field name="send_answer_employee"/>
84 <field name="send_anonymous_employee"/>
90 <record model="ir.ui.view" id="view_hr_evaluation_plan_phase_tree">
91 <field name="name">hr_evaluation.plan.phase.form</field>
92 <field name="model">hr_evaluation.plan.phase</field>
93 <field name="type">tree</field>
94 <field name="arch" type="xml">
95 <tree string="Evaluation Plan Phase" editable="bottom" >
96 <field name="sequence"/>
98 <field name="action"/>
99 <field name="survey_id"/>
105 <record id="hr_hr_employee_view_form" model="ir.ui.view">
106 <field name="name">hr.hr.employee.view.form</field>
107 <field name="model">hr.employee</field>
108 <field name="inherit_id" ref="hr.view_employee_form"/>
109 <field name="arch" type="xml">
110 <notebook position="inside">
111 <page string="Evaluation">
112 <field name="evaluation_plan_id" on_change="onchange_evaluation_plan_id(evaluation_plan_id)"/>
113 <field name="evaluation_date"/>
119 <record model="ir.ui.view" id="view_hr_evaluation_form">
120 <field name="name">hr_evaluation.evaluation.form</field>
121 <field name="model">hr_evaluation.evaluation</field>
122 <field name="type">form</field>
123 <field name="arch" type="xml">
124 <form string="Evaluation">
125 <group col="4" colspan="3">
126 <separator string="Evaluation Data" colspan="4"/>
127 <field name="employee_id" on_change="onchange_employee_id(employee_id)"/>
128 <field name="plan_id"/>
130 <field name="progress" widget="progressbar"/>
132 <group col="2" colspan="1">
133 <separator string="Ending Summary" colspan="2"/>
134 <field name="rating" attrs="{'readonly':[('state','<>','progress')],'required':[('state','=','progress')]}"/>
135 <field name="date_close" readonly="1"/>
137 <notebook colspan="4">
138 <page string="Appraisal">
139 <field name="survey_request_ids" context="{'phase_id': phase_id}" nolabel="1" colspan="4" widget="one2many"/>
141 <page string="Internal Notes">
142 <field name="note_action" colspan="4" nolabel="1"
143 groups="hr.group_hr_manager"/>
145 <page string="Public Notes">
146 <field name="note_summary" colspan="4" nolabel="1"/>
150 <group col="6" colspan="4">
151 <field name="state"/>
152 <button name="button_plan_in_progress"
153 string="Plan In Progress"
156 <button name="button_final_validation"
157 string="Final Validation"
160 <button name="button_done"
164 <button name="button_cancel"
166 states="draft,wait,progress"
172 <record model="ir.ui.view" id="view_hr_evaluation_tree">
173 <field name="name">hr_evaluation.evaluation.tree</field>
174 <field name="model">hr_evaluation.evaluation</field>
175 <field name="type">tree</field>
176 <field name="arch" type="xml">
177 <tree string="Evaluation">
178 <!--field name="create_date"/-->
179 <field name="employee_id"/>
180 <field name="plan_id"/>
182 <field name="progress" widget="progressbar"/>
183 <field name="rating"/>
184 <field name="state"/>
189 <record id="hr_evaluation.evaluation_search" model="ir.ui.view">
190 <field name="name">hr_evaluation.evaluation_search</field>
191 <field name="model">hr_evaluation.evaluation</field>
192 <field name="type">search</field>
193 <field name="arch" type="xml">
194 <search string="Search Evaluation">
195 <group col='10' colspan='4'>
196 <filter icon="terp-hr" string="Draft" domain="[('state','=','draft')]"/>
197 <filter icon="terp-crm" string="In progress" domain="[('state','=','wait')]"/>
198 <filter icon="terp-mrp" string="Final Step" domain="[('state','=','progress')]"/>
199 <filter icon="terp-stock" string="Done" domain="[('state','=','done')]"/>
200 <separator orientation="vertical"/>
201 <field name="employee_id" widget="selection" select="1"/>
202 <field name="plan_id" widget="selection" select="1"/>
203 <field name="rating"/>
209 <record model="ir.actions.act_window" id="open_view_hr_evaluation_tree">
210 <field name="res_model">hr_evaluation.evaluation</field>
211 <field name="view_type">form</field>
212 <field name="view_mode">tree,form</field>
213 <field name="search_view_id" ref="hr_evaluation.evaluation_search"/>
216 name="Evaluation" parent="menu_eval_hr"
217 id="menu_open_view_hr_evaluation_tree"
218 action="open_view_hr_evaluation_tree"/>
220 <record model="ir.ui.view" id="view_hr_evaluation_interview_form">
221 <field name="name">hr_evaluation.interview.form</field>
222 <field name="model">hr.evaluation.interview</field>
223 <field name="type">form</field>
224 <field name="arch" type="xml">
225 <form string="Interview Evaluation">
226 <group col="4" colspan="4">
227 <field name="survey_id" colspan="3"/>
229 <button name="%(survey.action_view_survey_question_message)d" string="Interview Question" type="action"
230 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)]}"/>
231 <button name="%(survey.survey_browse_response)d" string="Print Interview" type="action"
232 icon="gtk-print" context="{'survey_id': survey_id, 'response_id' : [response], 'response_no':0,}" attrs="{'readonly':[('response','=',False)]}" />
235 <group col="4" colspan="4">
236 <field name="date_deadline"/>
237 <field name="response" readonly="1"/>
238 <field name="user_to_review_id"/>
239 <field name="user_id"/>
242 <separator string="State" colspan="4"/>
243 <group colspan="4" col="6">
244 <field name="state"/>
245 <button name="survey_req_draft" string="Set to Draft" states="cancel,done" type="object" icon="gtk-new"/>
246 <button name="survey_req_waiting_answer" string="Watting Answer" states="draft" type="object" icon="gtk-new"/>
247 <button name="survey_req_done" string="Done" states="waiting_answer" type="object" icon="gtk-ok"/>
248 <button name="survey_req_cancel" string="Cancelled" states="waiting_answer" type="object" icon="gtk-cancel"/>
254 <record model="ir.ui.view" id="view_hr_evaluation_interview_tree">
255 <field name="name">hr_evaluation.interview.tree</field>
256 <field name="model">hr.evaluation.interview</field>
257 <field name="type">tree</field>
258 <field name="arch" type="xml">
259 <tree string="Interview Evaluation">
260 <field name="date_deadline"/>
261 <field name="survey_id"/>
262 <field name="user_to_review_id"/>
263 <field name="response" readonly="1" invisible="True"/>
264 <button name="%(survey.action_view_survey_question_message)d" string="Interview Question" type="action" states="waiting_answer,done,cancel"
265 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)]}"/>
266 <button name="%(survey.survey_browse_response)d" string="Print Interview" type="action" states="waiting_answer,done,cancel"
267 icon="gtk-print" context="{'survey_id': survey_id, 'response_id' : [response], 'response_no':0}" attrs="{'readonly':[('response','=',False)]}" />
268 <field name="state"/>
273 <record id="view_hr_evaluation_interview_search" model="ir.ui.view">
274 <field name="name">view_hr_evaluation_interview_search</field>
275 <field name="model">hr.evaluation.interview</field>
276 <field name="type">search</field>
277 <field name="arch" type="xml">
278 <search string="Search Evaluation">
279 <group col='10' colspan='4'>
280 <filter icon="terp-crm" string="Unanswered" domain="[('state','=','waiting_answer')]"/>
281 <filter icon="terp-stock" string="Late" domain="[('date_deadline','<',current_date)]"/>
282 <separator orientation="vertical"/>
283 <field name="survey_id" widget="selection" select="1"/>
284 <field name="email" select="1"/>
285 <field name="user_id" select="1" widget="selection" default="1">
286 <filter string="MY" icon="terp-partner" domain="[('user_id','=',uid)]"/>
293 <record model="ir.actions.act_window" id="action_hr_evaluation_interview_tree">
294 <field name="res_model">hr.evaluation.interview</field>
295 <field name="view_type">form</field>
296 <field name="view_mode">tree,form</field>
297 <field name="domain">[('is_evaluation' ,'=', True)]</field>
298 <field name="search_view_id" ref="view_hr_evaluation_interview_search"/>
302 name="Intreview Requests" parent="menu_eval_hr"
303 id="menu_open_hr_evaluation_interview_requests"
304 action="action_hr_evaluation_interview_tree"/>