[18.0][MIG] base_multi_image: Migration to 18.0#3209
Conversation
5cd2f62 to
d00e3e8
Compare
|
Thanks for this PR, any chance to rebase ? |
d00e3e8 to
27e7577
Compare
|
@flotho : It's done. Thanks |
|
Wonderful, CI/CD is green, we'll be able to go to Review |
legalsylvain
left a comment
There was a problem hiding this comment.
Fonctional test. Works like a charm.
@flotho Did you have the time to review this PR ?
|
Hey @BhaveshHeliconia thank you for your contribution! Could you please fix the pre-commit and rebase your branch? |
…xisting attachment record + Fix the 'pre_init_hook_for_submodules()' hook to extract the images from the ir_attachment table for binary fields initialized with the 'attachment=True' parameter
…_for_submodules to not use image_ids
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/
eb0df57 to
a81d64e
Compare
|
@ivs-cetmix : Done. Thanks! |
|
Thank you @BhaveshHeliconia ! |
|
@BhaveshHeliconia also would be great if you could add some simple tests so we could have one more CI checks green. I think an |
c2271ea to
31703e4
Compare
|
@ivs-cetmix : Done. Thanks! |
| """Allow to download an image and cache it by its URL.""" | ||
| if url: | ||
| try: | ||
| (filename, header) = urlretrieve(url) |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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?
31703e4 to
54093a8
Compare
54093a8 to
cf2f689
Compare
flotho
left a comment
There was a problem hiding this comment.
Hi,
A great thanks for your reactivity.
Your latest commit solve 403 frequent issues !
tested in production
LGTM
|
This PR has the |
DorianMAG
left a comment
There was a problem hiding this comment.
Thx for this work.
Functional test ok
LGTM
|
/ocabot merge nobump |
|
Hey, thanks for contributing! Proceeding to merge this for you. |
|
Congratulations, your PR was merged at bad4c91. Thanks a lot for contributing to OCA. ❤️ |
No description provided.