summaryrefslogtreecommitdiff
path: root/addons/hr_evaluation/hr_evaluation_view.xml
diff options
context:
space:
mode:
authorFabien Pinckaers <fp@tinyerp.com>2012-09-27 19:36:41 +0200
committerFabien Pinckaers <fp@tinyerp.com>2012-09-27 19:36:41 +0200
commitfc9f8491febf3fb7c4cdb074eae1725feed5319c (patch)
tree475ee3ff9a858a658c71ca4792628fba7ff04b81 /addons/hr_evaluation/hr_evaluation_view.xml
parentffb34cf11a8e0c1f55b8e4f2eb861ea706cf6c76 (diff)
parent1c46b40f0921411df436db89aa532268c42a8766 (diff)
[MERGE] related not in 'More...'
bzr revid: fp@tinyerp.com-20120927173641-i503k4kycnwjyefj
Diffstat (limited to 'addons/hr_evaluation/hr_evaluation_view.xml')
-rw-r--r--addons/hr_evaluation/hr_evaluation_view.xml21
1 files changed, 13 insertions, 8 deletions
diff --git a/addons/hr_evaluation/hr_evaluation_view.xml b/addons/hr_evaluation/hr_evaluation_view.xml
index 29d68d7a12c..2f3deae7b60 100644
--- a/addons/hr_evaluation/hr_evaluation_view.xml
+++ b/addons/hr_evaluation/hr_evaluation_view.xml
@@ -58,6 +58,16 @@
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
</record>
+
+ <!-- Appraisal Interviews Action -->
+
+ <record id="act_hr_employee_2_hr__evaluation_interview" model="ir.actions.act_window">
+ <field name="res_model">hr.evaluation.interview</field>
+ <field name="view_type">form</field>
+ <field name="name">Interviews</field>
+ <field name="view_mode">tree,form</field>
+ <field name="context">{'search_default_user_to_review_id': [active_id], 'default_user_to_review_id': active_id}</field>
+ </record>
<menuitem name="Appraisal" parent="hr.menu_hr_root" id="menu_eval_hr" sequence="25"/>
<menuitem name="Periodic Appraisal" parent="hr.menu_hr_configuration" id="menu_eval_hr_config" sequence="4"/>
@@ -134,6 +144,9 @@
<field name="evaluation_date"/>
</group>
</xpath>
+ <xpath expr="//div[@name='button_box']" position="inside">
+ <button name="%(act_hr_employee_2_hr__evaluation_interview)d" string="Appraisal Interviews" type="action"/>
+ </xpath>
</field>
</record>
@@ -408,13 +421,5 @@
'default_body_text': 'Hello,\n\nKindly post your response for the survey interview.\n\nThanks',
'default_subject': 'Reminder to fill up Survey'}"/>
- <!-- Appraisal Interviews Button on Employee Form -->
- <act_window
- context="{'search_default_user_to_review_id': [active_id], 'default_user_to_review_id': active_id}"
- id="act_hr_employee_2_hr__evaluation_interview"
- name="Appraisal Interviews"
- res_model="hr.evaluation.interview"
- src_model="hr.employee"/>
-
</data>
</openerp>