Repository navigation
Conversation
Currently translated at 100.0% (1 of 1 strings) Translation: web-15.0/web-15.0-web_widget_image_download Translate-URL: https://translation.odoo-community.org/projects/web-15-0/web-15-0-web_widget_image_download/it/
…y mode Move the download button out of the uploader container, which is only rendered when the field is editable, into its own overlay at the top of the image. This avoids the hardcoded translate offset and the click propagation hack inside the FileUploader toggler slot. Based on the layout proposed in OCA#3201.
Assisted-by: Claude Opus 5.5
- Owl 3: prefix the component variables of the template with `this.`. - Font Awesome to Material Symbols icon (19.5-00-material-symbols-icons). - Also extend web.ContactImageField: it is a primary copy of web.ImageField, so it does not get the web.ImageField extension, and since 20.0 it is the widget of the partner, user and company forms. The button is moved into a sub-template called by both extensions. Assisted-by: Claude Opus 5.5
|
The following commit authors need to sign the Contributor License Agreement: |
9 of 38 tasks
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.
Based on #3745 (19.0 migration, not merged yet): its commits are included and keep their original author.
Changes for 20.0:
this..19.5-00-material-symbols-icons).web.ContactImageField: it is a primary copy ofweb.ImageField, so it does not getthe
web.ImageFieldextension, and since 20.0 it is the widget of the partner, user and companyforms. Without it the download button would no longer show on the contact form.
Tested on Odoo 20: partner and company forms (contact_image), contacts hierarchy view (image,
readonly), partner without image (no button).
AI-assisted: Claude Opus 5.5 (commits carry the
Assisted-by:trailer, per OCA AI policy).