mirror of
https://github.com/OCA/server-backend.git
synced 2025-02-18 09:52:42 +02:00
8 lines
257 B
Python
8 lines
257 B
Python
from odoo import SUPERUSER_ID, api
|
|
|
|
|
|
def uninstall_hook(cr, registry):
|
|
env = api.Environment(cr, SUPERUSER_ID, {})
|
|
env["ir.actions.server.navigate.line"].search([]).unlink()
|
|
env["ir.actions.server"].search([("state", "=", "navigate")]).unlink()
|