mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 19:29:10 +00:00
* fix(stock): avoid name clash in delivery stop with Document.lock() * chore(stock): format delivery stop json according to doctype builder
8 lines
189 B
Python
8 lines
189 B
Python
import frappe
|
|
from frappe.model.utils.rename_field import rename_field
|
|
|
|
|
|
def execute():
|
|
if frappe.db.has_column("Delivery Stop", "lock"):
|
|
rename_field("Delivery Stop", "lock", "locked")
|