Odoo18-Base/addons/payment_stripe/__init__.py
2025-01-06 10:57:38 +07:00

15 lines
354 B
Python

# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import controllers
from . import models
import odoo.addons.payment as payment # prevent circular import error with payment
def post_init_hook(env):
payment.setup_provider(env, 'stripe')
def uninstall_hook(env):
payment.reset_payment_provider(env, 'stripe')