update fixtures and install.py
This commit is contained in:
parent
772fcb86c2
commit
beb873a9b1
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue