From 2d2559941323dd6227c9cef8e091d1e0a6fafaf4 Mon Sep 17 00:00:00 2001 From: Stefan Rijnhart Date: Thu, 4 Jul 2024 13:12:46 +0200 Subject: [PATCH] [FIX] linting after update dotfiles --- .../models/ir_attachment_action_download.py | 3 ++- document_url/static/src/js/url.esm.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/attachment_zipped_download/models/ir_attachment_action_download.py b/attachment_zipped_download/models/ir_attachment_action_download.py index 6e84206d..e06c573e 100644 --- a/attachment_zipped_download/models/ir_attachment_action_download.py +++ b/attachment_zipped_download/models/ir_attachment_action_download.py @@ -27,7 +27,8 @@ class IrAttachmentActionDownloadMixin(models.AbstractModel): """Return action to: * emit a warning message if no attachment found * download a file if only 1 file found - * zip and download the list of attachment returns by `_get_downloadable_attachments` + * zip and download the list of attachment returns by + `_get_downloadable_attachments` """ attachments = self._get_downloadable_attachments() if not attachments: diff --git a/document_url/static/src/js/url.esm.js b/document_url/static/src/js/url.esm.js index 6d4bd8b8..1f37f8e9 100644 --- a/document_url/static/src/js/url.esm.js +++ b/document_url/static/src/js/url.esm.js @@ -1,8 +1,8 @@ /** @odoo-module **/ -import {registerPatch} from "@mail/model/model_core"; import {AttachmentCard} from "@mail/components/attachment_card/attachment_card"; import {patch} from "web.utils"; +import {registerPatch} from "@mail/model/model_core"; import {url} from "@web/core/utils/urls"; registerPatch({