typo
This commit is contained in:
@@ -1,8 +1,7 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
from odoo import SUPERUSER_ID, api
|
from odoo import api
|
||||||
|
|
||||||
|
|
||||||
def post_init_hook(cr, registry):
|
def post_init_hook(env):
|
||||||
env = api.Environment(cr, SUPERUSER_ID, {})
|
|
||||||
env['ir.logging'].sudo().cleanup_unneeded_filestore_attachments(limit=50)
|
env['ir.logging'].sudo().cleanup_unneeded_filestore_attachments(limit=50)
|
||||||
|
|||||||
Reference in New Issue
Block a user