diff --git a/app_website_blog_editor/hooks.py b/app_website_blog_editor/hooks.py index 40a5ccf5..bd41b59e 100644 --- a/app_website_blog_editor/hooks.py +++ b/app_website_blog_editor/hooks.py @@ -18,15 +18,15 @@ from odoo import api, SUPERUSER_ID, _ -def pre_init_hook(cr): +def pre_init_hook(env): pass # cr.execute("") -def post_init_hook(cr, registry): +def post_init_hook(env): pass # cr.execute("") -def uninstall_hook(cr, registry): +def uninstall_hook(env): pass # cr.execute("") diff --git a/app_website_sale_editor/hooks.py b/app_website_sale_editor/hooks.py index 40a5ccf5..bd41b59e 100644 --- a/app_website_sale_editor/hooks.py +++ b/app_website_sale_editor/hooks.py @@ -18,15 +18,15 @@ from odoo import api, SUPERUSER_ID, _ -def pre_init_hook(cr): +def pre_init_hook(env): pass # cr.execute("") -def post_init_hook(cr, registry): +def post_init_hook(env): pass # cr.execute("") -def uninstall_hook(cr, registry): +def uninstall_hook(env): pass # cr.execute("")