8 lines
188 B
Python
8 lines
188 B
Python
import frappe
|
|
|
|
|
|
def execute():
|
|
for doctype in ["Customer", "Supplier"]:
|
|
field = doctype.lower() + "_type"
|
|
frappe.db.set_value(doctype, {field: "Proprietorship"}, field, "Individual")
|