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.

13 lines
423 B

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