fix client query

This commit is contained in:
Casey 2025-12-16 08:43:11 -06:00
parent b86d9a8861
commit 948c0b07a4
3 changed files with 61 additions and 42 deletions

View file

@ -132,6 +132,12 @@ def add_custom_fields():
options="Not Started\nIn Progress\nCompleted",
default="Not Started",
insert_after="job_status"
),
dict(
fieldname="lead_name",
label="Lead Name",
fieldtype="Data",
insert_after="custom_customer_to_bill"
)
],
"Contact": [
@ -268,11 +274,12 @@ def update_address_fields():
["custom_onsite_meeting_scheduled", "onsite_meeting_scheduled"],
["custom_estimate_sent_status", "estimate_sent_status"],
["custom_job_status", "job_status"],
["custom_payment_received_status", "payment_received_status"]
["custom_payment_received_status", "payment_received_status",],
["custom_lead_name", "lead_name"]
],
"Contact": [
["custom_role", "role"],
["custom_email", "email"]
["custom_email", "email"],
],
"On-Site Meeting": [
["custom_notes", "notes"],
@ -285,6 +292,9 @@ def update_address_fields():
],
"Sales Order": [
["custom_requires_half_payment", "requires_half_payment"]
],
"Lead": [
["custom_customer_type", "customer_type"]
]
}