refactor: full name field in contract

This commit is contained in:
ruthra kumar
2025-05-23 13:50:46 +05:30
parent b7de5398a7
commit 016924361a
2 changed files with 12 additions and 2 deletions

View File

@@ -14,6 +14,7 @@
"party_user", "party_user",
"status", "status",
"fulfilment_status", "fulfilment_status",
"party_full_name",
"sb_terms", "sb_terms",
"start_date", "start_date",
"cb_date", "cb_date",
@@ -244,11 +245,18 @@
"fieldname": "authorised_by_section", "fieldname": "authorised_by_section",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Authorised By" "label": "Authorised By"
},
{
"fieldname": "party_full_name",
"fieldtype": "Data",
"label": "Party Full Name",
"read_only": 1
} }
], ],
"grid_page_length": 50,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2024-03-27 13:06:46.177457", "modified": "2025-05-23 13:54:03.346537",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "CRM", "module": "CRM",
"name": "Contract", "name": "Contract",
@@ -315,6 +323,7 @@
"write": 1 "write": 1
} }
], ],
"row_format": "Dynamic",
"show_name_in_global_search": 1, "show_name_in_global_search": 1,
"sort_field": "creation", "sort_field": "creation",
"sort_order": "DESC", "sort_order": "DESC",

View File

@@ -34,6 +34,7 @@ class Contract(Document):
fulfilment_terms: DF.Table[ContractFulfilmentChecklist] fulfilment_terms: DF.Table[ContractFulfilmentChecklist]
ip_address: DF.Data | None ip_address: DF.Data | None
is_signed: DF.Check is_signed: DF.Check
party_full_name: DF.Data | None
party_name: DF.DynamicLink party_name: DF.DynamicLink
party_type: DF.Literal["Customer", "Supplier", "Employee"] party_type: DF.Literal["Customer", "Supplier", "Employee"]
party_user: DF.Link | None party_user: DF.Link | None