[FIX] hr_recruitment: job positions can be linked to a survey only if it has the 'res_model' field set to 'hr_evaluation'

bzr revid: rim@openerp.com-20140305150952-9luy6z03s4po8mkt
This commit is contained in:
Richard Mathot (OpenERP) 2014-03-05 16:09:52 +01:00
parent da5fc3cb77
commit 33b64cb1ee
1 changed files with 1 additions and 1 deletions

View File

@ -345,7 +345,7 @@
<group name="employee_data" position="inside">
<label for="survey_id" groups="base.group_user"/>
<div groups="base.group_user">
<field name="survey_id" class="oe_inline" domain="[('type','=','Human Resources')]"/>
<field name="survey_id" class="oe_inline" domain="[('res_model','=','hr_recruitment')]"/>
<button string="Print Interview" name="action_print_survey" type="object" attrs="{'invisible':[('survey_id','=',False)]}" class="oe_inline oe_link"/>
</div>
<label for="address_id"/>