In this commit, we take the opportunity to replace the previous unsecure
API with the new FlexCheckout API that implements payment methods
validation in a hosted page. Payment processing is still done with the
DirectLink API.
This commit also renames the module `payment_ingenico` to
`payment_ogone` as well as the referring strings ("Ogone" instead
of "Ingenico", ...).
A dedicated [MOV] commit is not used because neither the [MOV] commit
nor the adapted [REF] would be valid on its own.
See the merge commit for more details.
task-2333029
task-2313907
task-2334015
Co-authored-by: Antoine Vandevenne <anv@odoo.com>
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, 'ogone')
|