This commits also switches the Adyen implementation from the Hosted Payment Pages API to the new Checkout API, hence replacing the payment with redirection flow by a direct payment flow. See the merge commit for more details. task-2479832
12 lines
363 B
Python
12 lines
363 B
Python
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import controllers
|
|
from . import models
|
|
|
|
from odoo.addons.payment import reset_payment_acquirer
|
|
from odoo.addons.payment.models.payment_acquirer import create_missing_journals # post-init hook
|
|
|
|
|
|
def uninstall_hook(cr, registry):
|
|
reset_payment_acquirer(cr, registry, 'adyen')
|