Initial commit: Odoo 18.0-20251222 extra-addons
This commit is contained in:
3
attachment_unindex_content/hooks.py
Executable file
3
attachment_unindex_content/hooks.py
Executable file
@@ -0,0 +1,3 @@
|
||||
def post_init_hook(env):
|
||||
"""Clear the indexed data for records already in database"""
|
||||
env.cr.execute("UPDATE ir_attachment SET index_content=NULL")
|
||||
Reference in New Issue
Block a user