@@ -0,0 +1,489 @@
+from openupgradelib import openupgrade%0A%0A%0A@openupgrade.migrate()%0Adef migrate(env, version):%0A    if not version:%0A        return%0A%0A    # Update payment_acquirers%0A    env.cr.execute(%22%22%22%0A        select id from ir_ui_view where name = 'ogone_acquirer_button'%0A    %22%22%22)%0A    old_view_id = env.cr.fetchone()%5B0%5D%0A    new_view_id = env.ref('payment_ogone.ogone_form').id%0A    env%5B'payment.acquirer'%5D.search(%5B%0A        ('view_template_id', '=', old_view_id)%0A    %5D).write(%7B'view_template_id': new_view_id%7D)%0A

Add migrations for payment acquirers