Jagdish Panchal (Open ERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-bug-908092-jap into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)
Related bugs:
  Bug #908092 in OpenERP Addons: "hr_evaluation : add print button in interview 
request"
  https://bugs.launchpad.net/openobject-addons/+bug/908092

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-908092-jap/+merge/86924

Hello,

hr_evaluation: add the print button in the Interview Request form which print 
the pdf report of survey.

Thanks 
JAP
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-908092-jap/+merge/86924
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-bug-908092-jap.
=== modified file 'hr_evaluation/hr_evaluation_view.xml'
--- hr_evaluation/hr_evaluation_view.xml	2011-12-22 13:22:24 +0000
+++ hr_evaluation/hr_evaluation_view.xml	2011-12-27 07:31:27 +0000
@@ -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"/>

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to