mirror of
https://github.com/hanzoai/erp.git
synced 2026-09-30 21:46:27 +00:00
* 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 <[email protected]> Co-authored-by: Nabin Hait <[email protected]>
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")
|