[MiG] port from 19

This commit is contained in:
2026-08-24 13:15:27 +02:00
parent b9ddad46ab
commit 86d3e4dfcc
27 changed files with 661 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
# -*- coding: utf-8 -*-
from odoo import api, SUPERUSER_ID
def post_init_hook(cr, registry):
env = api.Environment(cr, SUPERUSER_ID, {})
env['ir.logging'].sudo().cleanup_unneeded_filestore_attachments(
limit=50
)