Files
testserver/testserver_o2b/hooks.py
2026-07-13 15:11:33 +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)