mirror of
https://github.com/OCA/knowledge.git
synced 2025-07-22 03:56:56 -06:00

This helps to download multiple attachments from any models. [UPD] Update attachment_zipped_download.pot [UPD] README.rst attachment_zipped_download 14.0.2.0.0 [UPD] README.rst Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: knowledge-14.0/knowledge-14.0-attachment_zipped_download Translate-URL: https://translation.odoo-community.org/projects/knowledge-14-0/knowledge-14-0-attachment_zipped_download/
10 lines
322 B
Python
10 lines
322 B
Python
# Copyright 2023 Foodles (https://www.foodles.com/)
|
|
# @author Pierre Verkest <pierreverkest84@gmail.com>
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
|
from odoo import models
|
|
|
|
|
|
class ResPartner(models.Model):
|
|
_name = "res.partner"
|
|
_inherit = ["res.partner", "ir.attachment.action_download"]
|