forked from Mapan/odoo17e
10 lines
360 B
Python
10 lines
360 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import models
|
|
|
|
def uninstall_hook(env):
|
|
env.cr.execute("SELECT 1 FROM ir_module_module WHERE name = 'pos_enterprise' AND state = 'installed'")
|
|
if env.cr.rowcount:
|
|
env.cr.execute("UPDATE pos_config SET is_posbox = False WHERE is_posbox")
|