mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 19:59:12 +00:00
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")
|