mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-18 04:32:01 +02:00
11 lines
344 B
Python
11 lines
344 B
Python
# Copyright 2017 LasLabs Inc.
|
|
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl).
|
|
|
|
from odoo import SUPERUSER_ID, api
|
|
|
|
from .models.module import PARAM_INSTALLED_CHECKSUMS
|
|
|
|
|
|
def uninstall_hook(cr, registry):
|
|
env = api.Environment(cr, SUPERUSER_ID, {})
|
|
env["ir.config_parameter"].set_param(PARAM_INSTALLED_CHECKSUMS, False)
|