-
-
Notifications
You must be signed in to change notification settings - Fork 695
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2385 from ForgeFlow/13.0-mig-payment_stripe-script
[13.0][MIG] payment_stripe
- Loading branch information
Showing
4 changed files
with
25 additions
and
6 deletions.
There are no files selected for viewing
10 changes: 5 additions & 5 deletions
10
addons/payment_stripe/migrations/13.0.1.0/noupdate_changes.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
10 changes: 10 additions & 0 deletions
10
addons/payment_stripe/migrations/13.0.1.0/openupgrade_analysis_work.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters