fix: intake page updates, customer_intake fixes, module dir
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Verify print formats were imported."""
|
||||
|
||||
import frappe
|
||||
|
||||
frappe.init(site="erpnext.local")
|
||||
frappe.connect()
|
||||
|
||||
pfs = frappe.get_all("Print Format",
|
||||
filters={"doc_type": ["in", ["Pallet", "Load"]]},
|
||||
fields=["name", "doc_type", "custom_format"]
|
||||
)
|
||||
|
||||
print("Print Formats for Pallet/Load:")
|
||||
for pf in pfs:
|
||||
print(f" - {pf['name']} ({pf['doc_type']}, custom={pf['custom_format']})")
|
||||
|
||||
frappe.destroy()
|
||||
Reference in New Issue
Block a user