Skip to content

Commit

Permalink
[MIG] payment_stripe
Browse files Browse the repository at this point in the history
  • Loading branch information
MiquelRForgeFlow committed Aug 5, 2020
1 parent ace5606 commit 82e64f6
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 6 deletions.
10 changes: 5 additions & 5 deletions addons/payment_stripe/migrations/13.0.1.0/noupdate_changes.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version='1.0' encoding='utf-8'?>
<odoo>
<record id="payment.payment_acquirer_stripe" model="payment.acquirer">
<field name="environment"/>
<field name="image" type="base64" file="payment_stripe/static/src/img/stripe_icon.png"/>
<field name="pre_msg"/>
<field name="stripe_publishable_key"/>
<field name="stripe_secret_key"/>
<!-- <field name="environment"/>-->
<!-- <field name="image" type="base64" file="payment_stripe/static/src/img/stripe_icon.png"/>-->
<!-- <field name="pre_msg"/>-->
<!-- <field name="stripe_publishable_key"/>-->
<!-- <field name="stripe_secret_key"/>-->
<field name="image_128" type="base64" file="payment_stripe/static/src/img/stripe_icon.png"/>
</record>
</odoo>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---Models in module 'payment_stripe'---
---Fields in module 'payment_stripe'---
payment_stripe / payment.acquirer / provider (False) : selection_keys is now '['adyen', 'alipay', 'authorize', 'buckaroo', 'manual', 'ogone', 'paypal', 'payulatam', 'payumoney', 'sips', 'stripe']' ('['adyen', 'authorize', 'buckaroo', 'manual', 'ogone', 'paypal', 'payumoney', 'sips', 'stripe']')
---XML records in module 'payment_stripe'---
NEW ir.ui.view: payment_stripe.assets_frontend
DEL ir.ui.view: payment_stripe_sca.assets_frontend
DEL ir.ui.view: payment_stripe_sca.payment_tokens_list
DEL ir.ui.view: payment_stripe_sca.stripe_form
DEL ir.ui.view: payment_stripe_sca.stripe_s2s_form
# NOTHING TO DO
9 changes: 9 additions & 0 deletions addons/payment_stripe/migrations/13.0.1.0/post-migration.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Copyright 2020 ForgeFlow <http://www.forgeflow.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openupgradelib import openupgrade


@openupgrade.migrate()
def migrate(env, version):
openupgrade.load_data(
env.cr, "payment_stripe", "migrations/13.0.1.0/noupdate_changes.xml")
2 changes: 1 addition & 1 deletion odoo/openupgrade/doc/source/modules120-130.rst
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,7 @@ missing in the new release are marked with |del|.
+----------------------------------------------+-------------------------------------------------+
|payment_sips | |
+----------------------------------------------+-------------------------------------------------+
|payment_stripe | |
|payment_stripe | Done |
+----------------------------------------------+-------------------------------------------------+
| |del| payment_stripe_sca | |
+----------------------------------------------+-------------------------------------------------+
Expand Down

0 comments on commit 82e64f6

Please sign in to comment.