1
0
forked from Mapan/odoo17e
odoo17e-kedaikipas58/addons/account_taxcloud/__init__.py
2024-12-10 09:04:09 +07:00

10 lines
331 B
Python

# -*- coding: utf-8 -*-
from odoo.exceptions import UserError
from odoo.tools import config
from . import models
def pre_init_hook(cr):
if not config.get("init") and not config.get("update"):
raise UserError("The Taxcloud module is deprecated and cannot be installed. Consider installing the Avatax module instead.")