1
# -*- coding: utf-8 -*-
2
# Copyright 2016 Serpent Consulting Services Pvt. Ltd. (support@serpentcs.com)
3
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
6
def uninstall_hook(cr, registry):
7
cr.execute("""SELECT id FROM ir_act_window
8
WHERE res_model = 'mass.editing.wizard'""")
9
for res in cr.dictfetchall():
10
value = 'ir.actions.act_window,%s' % res.get('id')
11
cr.execute("DELETE FROM ir_values WHERE value = %s", (value, ))