[FIX] hr_evaluation: add the print button on the Interview Request

lp bug: https://launchpad.net/bugs/908092 fixed

bzr revid: jap@tinyerp.com-20111227072646-qykdmpjwzspxydsz
This commit is contained in:
Jagdish Panchal (Open ERP) 2011-12-27 12:56:46 +05:30
parent bc4f3aac14
commit 8874f86b8e
1 changed files with 7 additions and 4 deletions

View File

@ -305,10 +305,13 @@
<field name="response" readonly="1"/>
<field name="user_to_review_id"/>
<field name="user_id" string="Interviewer"/>
<button string="Send Reminder Email"
name="%(mail.action_email_compose_message_wizard)d"
icon="terp-mail-message-new" type="action" colspan="2"
states="waiting_answer"/>
<group col="2" colspan="2">
<button string="Send Reminder Email"
name="%(mail.action_email_compose_message_wizard)d"
icon="terp-mail-message-new" type="action"
states="waiting_answer"/>
<button name="action_print_survey" string="Print Survey" type="object" states="waiting_answer,done,cancel" icon="gtk-print" 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)]}"/>
</group>
</group>
<newline/>
<separator string="State" colspan="4"/>