Initial commit bi_view_editor V9

This commit is contained in:
Andrea
2017-03-06 09:44:00 +01:00
parent f25ed2d685
commit 37a4d70b2e
85 changed files with 15672 additions and 0 deletions

14
bi_view_editor/hooks.py Normal file
View File

@@ -0,0 +1,14 @@
# -*- coding: utf-8 -*-
# Copyright 2015-2017 Onestein (<http://www.onestein.eu>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
def uninstall_hook(cr, registry):
# delete dirty data that could cause problems
# while re-installing the module
cr.execute("""
delete from ir_model where model like 'x_bve.%'
""")
cr.execute("""
delete from bve_view where model_name like 'x_bve.%'
""")