Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FW][FIX] hr_recruitment: fix document uploading from applicant #155889

Conversation

fw-bot
Copy link
Contributor

@fw-bot fw-bot commented Feb 29, 2024

Description of the issue/feature this PR addresses:
In the kanban view of all applicants within the recruitment module, an issue arises when applicants attempt to upload documents.


Current behavior before PR:
upload button is hidden while uncheck the settings from Documents for Recruitment.


Desired behavior after PR is merged:
upload button is visible while uncheck the settings from Documents for Recruitment.


Fix:
The PR addresses the problem by modifying tree view of ir.attachment and default_res_model in the context. This adjustment is crucial as the current setting results in an incorrect model name, preventing the display of uploaded documents in this model.

task-3579833

Forward-Port-Of: #155747
Forward-Port-Of: #150593

Description of the issue/feature this PR addresses:
In the kanban view of all applicants within the recruitment module, an issue
arises when applicants attempt to upload documents.

Current behavior before PR:
upload button is hidden while uncheck the settings from Documents for
Recruitment.

Desired behavior after PR is merged:
upload button is visible while uncheck the settings from Documents for
Recruitment.

Fix:
The PR addresses the problem by modifying tree view of ir.attachment and
default_res_model in the context. This adjustment is crucial as the current
setting results in an incorrect model name, preventing the display of uploaded
documents in this model.

task-3579833

X-original-commit: 0bd4a6e
@robodoo
Copy link
Contributor

robodoo commented Feb 29, 2024

@fw-bot
Copy link
Contributor Author

fw-bot commented Feb 29, 2024

This PR targets saas-16.2 and is part of the forward-port chain. Further PRs will be created up to master.

More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port

@robodoo robodoo added the forwardport This PR was created by @fw-bot label Feb 29, 2024
@C3POdoo C3POdoo added the RD research & development, internal work label Feb 29, 2024
robodoo pushed a commit that referenced this pull request Mar 5, 2024
Description of the issue/feature this PR addresses:
In the kanban view of all applicants within the recruitment module, an issue
arises when applicants attempt to upload documents.

Current behavior before PR:
upload button is hidden while uncheck the settings from Documents for
Recruitment.

Desired behavior after PR is merged:
upload button is visible while uncheck the settings from Documents for
Recruitment.

Fix:
The PR addresses the problem by modifying tree view of ir.attachment and
default_res_model in the context. This adjustment is crucial as the current
setting results in an incorrect model name, preventing the display of uploaded
documents in this model.

task-3579833

closes #155889

X-original-commit: 0bd4a6e
Related: odoo/enterprise#57811
Signed-off-by: Sofie Gvaladze (sgv) <sgv@odoo.com>
@robodoo robodoo closed this Mar 5, 2024
@fw-bot fw-bot deleted the saas-16.2-16.0-document-hr-fix-uploading-document-ravb-WayL-fw branch March 19, 2024 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
forwardport This PR was created by @fw-bot RD research & development, internal work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants