oca-technical/odoo-bringout-oca-server-tools-attachment_unindex_content/attachment_unindex_content/models/ir_attachment.py
2025-08-29 15:43:03 +02:00

13 lines
280 B
Python

# 2019 Vauxoo (<http://www.vauxoo.com/>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import api, models
class IrAttachment(models.Model):
_inherit = "ir.attachment"
@api.model
def _index(self, *args, **kwargs):
return False