Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
3032 Zobrazení

Hi Everyone,

In Odoo 10, when I click on the menu Recruitment/Resume and Letters to show applicant's documents. It works correct, only shown the attachments of Recruitment.

But after reload page (F5), all attachments are shown. There something wrong, but I don't know how to fix it.

Does anyone get it fixed?

Thank you

Avatar
Zrušit
Nejlepší odpověď

Hi,

In Recruitment -> Resume and Letter shows only "hr.applicant" attachments.  You can check domain i.e [('res_model','=','hr.applicant')] in Action.  

After reload page(F5) if all attachments are shown then you must have to check its Domain. It might be overwritten.

I hope this helps you.

Thanks!

Avatar
Zrušit
Autor

Yes, the domain of "Resume and Letters" is: [('res_model','=','hr.applicant')]

There are only 2 window actions for attachment.

But I don't know why.

Yes you are right there are two window action for Attachment.

1) "base.action_attachment" with no domain to manage all domain. You can find its menu Settings-> Technical -> Database Structure -> Attachments

Note : Please start developer mode for to show menu.

2) "hr_recruitment.hr_applicant_resumes" with domain [('res_model','=','hr.applicant')] to manage documents which are attached to hr.applicant

Let me know if this helps!

Thanks

Autor

Thank Jainesh,

I think that I found the issue, the action reference to wrong view id. So I fixed it now.

Thank you