15 lines
354 B
Python
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')
|