[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:
parent
da5fc3cb77
commit
33b64cb1ee
|
@ -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"/>
|
||||
|
|
Loading…
Reference in New Issue