* fix: use Stripe's Price API for plan-price information (#26107)
* fix: use Stripe's new Plan API for price information
* patch: use inbuilt function to rename field
* fix: patch call
Co-authored-by: Ankush Menat <ankush@iwebnotes.com>
Co-authored-by: Nabin Hait <nabinhait@gmail.com>
(cherry picked from commit 16eed07a0f)
# Conflicts:
# erpnext/patches.txt
* fix: resolve conflicts
Co-authored-by: Rohan <Alchez@users.noreply.github.com>
Co-authored-by: Ankush Menat <ankush@iwebnotes.com>
Co-authored-by: Afshan <33727827+AfshanKhan@users.noreply.github.com>
8 lines
225 B
Python
8 lines
225 B
Python
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")
|