Skip to content

[18.0][MIG] base_multi_image: Migration to 18.0#3209

Merged
OCA-git-bot merged 61 commits intoOCA:18.0from
HeliconiaIO:18.0-mig-base_multi_image
Mar 6, 2026
Merged

[18.0][MIG] base_multi_image: Migration to 18.0#3209
OCA-git-bot merged 61 commits intoOCA:18.0from
HeliconiaIO:18.0-mig-base_multi_image

Conversation

@BhaveshHeliconia
Copy link
Copy Markdown
Contributor

No description provided.

@flotho
Copy link
Copy Markdown
Member

flotho commented Aug 18, 2025

Hi @BhaveshHeliconia

Thanks for this PR, any chance to rebase ?
Regards

@BhaveshHeliconia
Copy link
Copy Markdown
Contributor Author

@flotho : It's done. Thanks

@flotho
Copy link
Copy Markdown
Member

flotho commented Aug 19, 2025

Wonderful, CI/CD is green, we'll be able to go to Review

Copy link
Copy Markdown
Contributor

@legalsylvain legalsylvain left a comment

Choose a reason for hiding this comment

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

Fonctional test. Works like a charm.

@flotho Did you have the time to review this PR ?

@ivs-cetmix
Copy link
Copy Markdown
Member

Hey @BhaveshHeliconia thank you for your contribution! Could you please fix the pre-commit and rebase your branch?

IJOL and others added 8 commits January 12, 2026 09:56
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-16.0/server-tools-16.0-base_multi_image
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_multi_image/
Currently translated at 100.0% (33 of 33 strings)

Translation: server-tools-16.0/server-tools-16.0-base_multi_image
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_multi_image/it/
Currently translated at 100.0% (33 of 33 strings)

Translation: server-tools-16.0/server-tools-16.0-base_multi_image
Translate-URL: https://translation.odoo-community.org/projects/server-tools-16-0/server-tools-16-0-base_multi_image/it/
@BhaveshHeliconia BhaveshHeliconia force-pushed the 18.0-mig-base_multi_image branch from eb0df57 to a81d64e Compare January 12, 2026 04:27
@BhaveshHeliconia
Copy link
Copy Markdown
Contributor Author

@ivs-cetmix : Done. Thanks!

@ivs-cetmix
Copy link
Copy Markdown
Member

Thank you @BhaveshHeliconia !
@flotho would appreciate your review.

@ivs-cetmix
Copy link
Copy Markdown
Member

@BhaveshHeliconia also would be great if you could add some simple tests so we could have one more CI checks green. I think an assertRaises here and nearby will do the job.

@BhaveshHeliconia BhaveshHeliconia force-pushed the 18.0-mig-base_multi_image branch from c2271ea to 31703e4 Compare January 12, 2026 12:56
@BhaveshHeliconia
Copy link
Copy Markdown
Contributor Author

@ivs-cetmix : Done. Thanks!

Comment thread base_multi_image/models/image.py Outdated
"""Allow to download an image and cache it by its URL."""
if url:
try:
(filename, header) = urlretrieve(url)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hi, thaks for this PR, we're freuently facing 403 errors.
Looks like it coming from https://scrape.do/blog/python-requests-403-forbidden/
I've tested with simple cli query and adding headers works perfectly.
Is there any chance you add headers in your query.
For example it could be Odoo-agent ith web.base.url and default english language.

Thanks

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Hi, thanks for the suggestion.
I've updated the query to include the headers as suggested. Could you please take another look when you get a chance?

@BhaveshHeliconia BhaveshHeliconia force-pushed the 18.0-mig-base_multi_image branch from 31703e4 to 54093a8 Compare March 6, 2026 05:45
@BhaveshHeliconia BhaveshHeliconia force-pushed the 18.0-mig-base_multi_image branch from 54093a8 to cf2f689 Compare March 6, 2026 06:19
Copy link
Copy Markdown
Member

@flotho flotho left a comment

Choose a reason for hiding this comment

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

Hi,

A great thanks for your reactivity.
Your latest commit solve 403 frequent issues !
tested in production
LGTM

@OCA-git-bot
Copy link
Copy Markdown
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). 🤖

Copy link
Copy Markdown

@DorianMAG DorianMAG left a comment

Choose a reason for hiding this comment

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

Thx for this work.
Functional test ok
LGTM

@rvalyi
Copy link
Copy Markdown
Member

rvalyi commented Mar 6, 2026

/ocabot merge nobump

@OCA-git-bot
Copy link
Copy Markdown
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 18.0-ocabot-merge-pr-3209-by-rvalyi-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 3c39ee1 into OCA:18.0 Mar 6, 2026
7 checks passed
@OCA-git-bot
Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at bad4c91. 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.