brotherton-erpnext/erpnext/patches/v13_0/migrate_stripe_api.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
225 B
Python
Raw Normal View History

import frappe
from frappe.model.utils.rename_field import rename_field
def execute():
frappe.reload_doc("accounts", "doctype", "subscription_plan")
rename_field("Subscription Plan", "payment_plan_id", "product_price_id")