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

[17.0][FIX] document_url: Fix Download attachment component #506

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

maq-adhoc
Copy link

@maq-adhoc maq-adhoc commented Nov 7, 2024

This commit (odoo/odoo@366676c) move download buttons into a sub-component.
I modified the module behavior to use canDownload() method instead of adding a t-if in the view and prevent the chatter component from breaking when the message has attachments.

@maq-adhoc maq-adhoc force-pushed the 17.0-fix-document-url-maq branch 2 times, most recently from 2e90b9b to ede53e3 Compare November 7, 2024 19:31
Copy link

@lef-adhoc lef-adhoc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

@giarve giarve left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can confirm it needs a patch for 17.0 and this one is not looking bad

@OCA-git-bot
Copy link
Contributor

This PR has the approved label and has been created more than 5 days ago. It should therefore be ready to merge by a maintainer (or a PSC member if the concerned addon has no declared maintainer). 🤖

@pedrobaeza pedrobaeza added this to the 17.0 milestone Nov 13, 2024
@pedrobaeza
Copy link
Member

@maq-adhoc maq-adhoc changed the title [FIX] Fix Download attachment [FIX] document_url: Fix Download attachment Nov 14, 2024
@maq-adhoc maq-adhoc changed the title [FIX] document_url: Fix Download attachment [FIX] document_url: Fix Download attachment component Nov 14, 2024
Fix download atachment widget.

Document_url when activated causes error when opening attachment link on the chatter window
This commit (odoo/odoo@366676c) move download buttons into a sub-component.
I modified the module behavior to use canDownload() method instead of adding a t-if in the view and prevent the chatter component from breaking when the message has attachments.
@maq-adhoc
Copy link
Author

@pedrobaeza I think it's okay now. Thanks

@pedrobaeza pedrobaeza changed the title [FIX] document_url: Fix Download attachment component [17.0][FIX] document_url: Fix Download attachment component Nov 14, 2024
Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, that's it.

/ocabot merge patch

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 17.0-ocabot-merge-pr-506-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 75177d3 into OCA:17.0 Nov 14, 2024
6 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 4c08cb8. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants