This commit is contained in:
gsinghpal
2026-03-20 11:46:41 -04:00
parent 595dccc17d
commit 92369be6e0
71 changed files with 6588 additions and 8 deletions

17
fusion_clover/__init__.py Normal file
View File

@@ -0,0 +1,17 @@
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import controllers
from . import models
from . import wizard
def post_init_hook(env):
provider = env.ref('fusion_clover.payment_provider_clover', raise_if_not_found=False)
if provider:
provider._setup_provider('clover')
def uninstall_hook(env):
provider = env.ref('fusion_clover.payment_provider_clover', raise_if_not_found=False)
if provider:
provider.write({'state': 'disabled', 'is_published': False})