This commit also drops the payment with redirection flow in favor of the direct payment flow only, while preserving the currently used APIs. See the merge commit for more details. task-2333030 Co-authored-by: Adrien Horgnies <aho@odoo.com>
12 lines
367 B
Python
12 lines
367 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, 'authorize')
|