[MIG] dms_attachment_link: Migration to 18.0#478
Open
IJOL wants to merge 16 commits into
Open
Conversation
TT41512 [UPD] Update dms_attachment_link.pot [UPD] README.rst
…selection. TT41512 [UPD] Update dms_attachment_link.pot dms_attachment_link 13.0.1.1.0 Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: dms-13.0/dms-13.0-dms_attachment_link Translate-URL: https://translation.odoo-community.org/projects/dms-13-0/dms-13-0-dms_attachment_link/
TT41774 [UPD] Update dms_attachment_link.pot [UPD] README.rst
Currently translated at 100.0% (6 of 6 strings) Translation: dms-15.0/dms-15.0-dms_attachment_link Translate-URL: https://translation.odoo-community.org/projects/dms-15-0/dms-15-0-dms_attachment_link/es/ [UPD] README.rst
Translated using Weblate (Italian) Currently translated at 100.0% (6 of 6 strings) Translation: dms-15.0/dms-15.0-dms_attachment_link Translate-URL: https://translation.odoo-community.org/projects/dms-15-0/dms-15-0-dms_attachment_link/it/
Co-authored-by: DemchukM
[UPD] Update dms_attachment_link.pot
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: dms-17.0/dms-17.0-dms_attachment_link Translate-URL: https://translation.odoo-community.org/projects/dms-17-0/dms-17-0-dms_attachment_link/
Currently translated at 100.0% (7 of 7 strings) Translation: dms-17.0/dms-17.0-dms_attachment_link Translate-URL: https://translation.odoo-community.org/projects/dms-17-0/dms-17-0-dms_attachment_link/it/
…dialog
In Odoo 18 the Chatter component no longer exposes `this.action`, so clicking
"Add DMS file" raised `TypeError: this.action is undefined`. Inject the action
service in setup() via useService("action").
The file selector kanban also collapsed to ~17px inside the wizard dialog (its
container takes its height from flex, so the renderer default min-height:100%
does not resolve). Add scoped scss to give the renderer a viewport height inside
the dialog.
Also regenerate the README (badges/links still pointed to 17.0).
c6acdfd to
b92b548
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.
Migration of
dms_attachment_linkto 18.0.This continues @hhgabelgaard's work in #460, which is a clean, history-preserving migration but has stalled after maintainer review: @flotho requested changes on 2026-02-20 (a runtime error reported on runboat) and the branch has not been updated since (its head was last pushed on 2026-02-04). This PR builds on top of that branch — preserving its full history and authorship — and adds the fix for the reported issue.
On top of #460:
actionservice into the Chatter patch viasetup()/useService("action"). In Odoo 18 the Chatter no longer exposesthis.action, so_onAddDmsFile()raisedTypeError: this.action is undefinedwhen clicking "Add DMS file" — the runtime error seen in @flotho's review.Credit for the migration goes to @hhgabelgaard and the original authors. Supersedes #460.
@flotho @hhgabelgaard