[MERGE] merged hip's branch merge lp:~openerp-dev/openobject-addons/trunk_10_hr_interview_clicks_2-hip

bzr revid: bde@tinyerp.com-20121109122739-d6u0en8xmze65pf5
This commit is contained in:
Bharat Devnani (OpenERP) 2012-11-09 17:57:39 +05:30
commit 77c90a73ae
2 changed files with 2 additions and 2 deletions

View File

@ -290,7 +290,7 @@
<button string="Send Request" name="survey_req_waiting_answer" type="object"
states="draft" class="oe_highlight"/>
<button string="Answer Survey" name="%(survey.action_view_survey_question_message)d" type="action"
states="waiting_answer"
states="waiting_answer" class="oe_highlight"
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)]}"/>
<button string="Done" name="survey_req_done" type="object"

View File

@ -45,8 +45,8 @@
<group>
<field name="id" invisible="1"/>
<field name="responsible_id" class="oe_inline" attrs="{'readonly':[('state','=','close')]}"/>
<field name="type" attrs="{'readonly':[('state','=','close')]}" class="oe_inline"/>
<field name="send_response" attrs="{'readonly':[('state','=','close')]}"/>
<field name="type" attrs="{'readonly':[('state','=','close')]}"/>
</group>
<group>
<field name="max_response_limit" attrs="{'readonly':[('state','=','close')]}"/>