update fixtures and install.py

This commit is contained in:
Casey 2026-02-18 11:09:05 -06:00
parent 772fcb86c2
commit beb873a9b1

View File

@ -1727,6 +1727,7 @@ def create_companies():
# Idempotency check
if frappe.db.exists("Company", {"name": company["company_name"]}):
continue
print(f"❌ Company '{company['company_name']}' does not exist. Creating...")
doc: Company = frappe.get_doc({
"doctype": "Company",
"company_name": company["company_name"],