[FIX] hr_applicant_document: resume and letters

When an ir.attachment is created from the ir.action.window "Resumes and Letters"
then the res.model must be set by default with 'hr.applicant'.

opw:641070
This commit is contained in:
Goffin Simon 2015-06-01 11:16:11 +02:00
parent 9ce57d55e7
commit 6792376f39
1 changed files with 1 additions and 0 deletions

View File

@ -20,6 +20,7 @@
<field name="view_mode">kanban,tree,form</field>
<field name="view_id" ref="mail.view_document_file_kanban"/>
<field name="domain">[('res_model','=','hr.applicant')]</field>
<field name="context" eval="{'default_res_model': 'hr.applicant'}"/>
<field name="help" type="html">
<p>
Search through resumes and motivation letters.