mirror of
https://gitlab.com/flectra-community/devops/odoo-2-flectra-converter.git
synced 2024-11-24 14:22:03 +00:00
14 lines
352 B
Python
14 lines
352 B
Python
|
# -*- coding: utf-8 -*-
|
||
|
|
||
|
from . import models
|
||
|
from . import controllers
|
||
|
|
||
|
from odoo.api import Environment, SUPERUSER_ID
|
||
|
|
||
|
|
||
|
def uninstall_hook(cr, registry):
|
||
|
env = Environment(cr, SUPERUSER_ID, {})
|
||
|
for rec in env['ks_dashboard_ninja.board'].search([]):
|
||
|
rec.ks_dashboard_client_action_id.unlink()
|
||
|
rec.ks_dashboard_menu_id.unlink()
|