summaryrefslogtreecommitdiff
path: root/indoteknik_custom/models/ir_attachment.py
blob: 278eb93854a0b773a52ab96979a30288895625d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
from odoo import api, fields, models, _
import logging

_logger = logging.getLogger(__name__)


class Attachment(models.Model):
    _inherit = 'ir.attachment'

    @api.autovacuum
    def _gc_file_store(self):
        _logger.info("filestore gc checked, removed - override")