Files
2026-08-10 12:26:30 +02:00

8 lines
151 B
Python

# -*- coding: utf-8 -*-
from odoo import api
def post_init_hook(env):
env['ir.logging'].sudo().cleanup_unneeded_filestore_attachments(limit=50)