[19.0][MIG] base_multi_image#3633
Open
dnplkndll wants to merge 58 commits into
Open
Conversation
BhaveshHeliconia
approved these changes
Jun 19, 2026
BhaveshHeliconia
left a comment
Contributor
There was a problem hiding this comment.
Code review LGTM!
Contributor
|
@dnplkndll Please squash the commits as explained here: https://github.com/OCA/maintainer-tools/wiki/Merge-commits-in-pull-requests#mergesquash-the-commits-generated-by-bots-or-weblate |
…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
…dule is uninstalled.
* Add catch in owner unlink to allow for image delete bypass via context
* [FIX] base_multi_image: Use env in uninstall_hook
improve uninstall hook to move images from multi to single mode
Currently translated at 100.0% (48 of 48 strings) Translation: server-tools-14.0/server-tools-14.0-base_multi_image Translate-URL: https://translation.odoo-community.org/projects/server-tools-14-0/server-tools-14-0-base_multi_image/es_AR/
Currently translated at 58.3% (28 of 48 strings) Translation: server-tools-15.0/server-tools-15.0-base_multi_image Translate-URL: https://translation.odoo-community.org/projects/server-tools-15-0/server-tools-15-0-base_multi_image/it/
Currently translated at 64.5% (31 of 48 strings) Translation: server-tools-15.0/server-tools-15.0-base_multi_image Translate-URL: https://translation.odoo-community.org/projects/server-tools-15-0/server-tools-15-0-base_multi_image/sl/
Currently translated at 58.3% (28 of 48 strings) Translation: server-tools-15.0/server-tools-15.0-base_multi_image Translate-URL: https://translation.odoo-community.org/projects/server-tools-15-0/server-tools-15-0-base_multi_image/it/
Currently translated at 58.3% (28 of 48 strings) Translation: server-tools-15.0/server-tools-15.0-base_multi_image Translate-URL: https://translation.odoo-community.org/projects/server-tools-15-0/server-tools-15-0-base_multi_image/it/
Currently translated at 100.0% (48 of 48 strings) Translation: server-tools-15.0/server-tools-15.0-base_multi_image Translate-URL: https://translation.odoo-community.org/projects/server-tools-15-0/server-tools-15-0-base_multi_image/es/
Currently translated at 100.0% (48 of 48 strings) Translation: server-tools-15.0/server-tools-15.0-base_multi_image Translate-URL: https://translation.odoo-community.org/projects/server-tools-15-0/server-tools-15-0-base_multi_image/es_AR/
Currently translated at 58.3% (28 of 48 strings) Translation: server-tools-15.0/server-tools-15.0-base_multi_image Translate-URL: https://translation.odoo-community.org/projects/server-tools-15-0/server-tools-15-0-base_multi_image/it/
Fecha: Fri Apr 11 13:31:40 2023 +0200 Autor: clb_openfire
…_for_submodules to not use image_ids
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/
Currently translated at 100.0% (48 of 48 strings) Translation: server-tools-18.0/server-tools-18.0-base_multi_image Translate-URL: https://translation.odoo-community.org/projects/server-tools-18-0/server-tools-18-0-base_multi_image/it/
Currently translated at 87.5% (42 of 48 strings) Translation: server-tools-18.0/server-tools-18.0-base_multi_image Translate-URL: https://translation.odoo-community.org/projects/server-tools-18-0/server-tools-18-0-base_multi_image/nl/
Signed-off-by: Don Kendall <dkendall@ledoweb.com>
- _sql_constraints converted to models.Constraint (19.0 API). - Test loads its add-only fake model via the standard 19.0 registry API (add_to_registry + _setup_models__ + init_models) and removes it on addClassCleanup — no odoo_test_helper dependency.
da1da69 to
bd47002
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Port of
base_multi_imagefrom18.0to19.0. Follows the OCA migration guide.