mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-23 04:22:04 -06:00
[FIX] linting after update dotfiles
This commit is contained in:
parent
6890e6b65e
commit
2d25599413
@ -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:
|
||||
|
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user