[FIX] linting after update dotfiles

This commit is contained in:
Stefan Rijnhart 2024-07-04 13:12:46 +02:00
parent 6890e6b65e
commit 2d25599413
2 changed files with 3 additions and 2 deletions

View File

@ -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:

View File

@ -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({