update fixtures and install.py
This commit is contained in:
parent
772fcb86c2
commit
beb873a9b1
@ -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"],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user