OCA reporting engine fork for dev and update.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
451 B

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