diff --git a/erpnext/accounts/doctype/pos_invoice/pos_invoice.json b/erpnext/accounts/doctype/pos_invoice/pos_invoice.json index ab244fccf05..b98e0f9776b 100644 --- a/erpnext/accounts/doctype/pos_invoice/pos_invoice.json +++ b/erpnext/accounts/doctype/pos_invoice/pos_invoice.json @@ -8,7 +8,6 @@ "engine": "InnoDB", "field_order": [ "customer_section", - "title", "naming_series", "customer", "customer_name", @@ -192,16 +191,6 @@ "fieldtype": "Section Break", "options": "fa fa-user" }, - { - "allow_on_submit": 1, - "default": "{customer_name}", - "fieldname": "title", - "fieldtype": "Data", - "hidden": 1, - "label": "Title", - "no_copy": 1, - "print_hide": 1 - }, { "bold": 1, "fieldname": "naming_series", @@ -1584,7 +1573,7 @@ "icon": "fa fa-file-text", "is_submittable": 1, "links": [], - "modified": "2024-11-26 13:10:50.309570", + "modified": "2025-01-06 15:03:19.957277", "modified_by": "Administrator", "module": "Accounts", "name": "POS Invoice", @@ -1635,7 +1624,7 @@ "sort_order": "DESC", "states": [], "timeline_field": "customer", - "title_field": "title", + "title_field": "customer_name", "track_changes": 1, "track_seen": 1 } \ No newline at end of file diff --git a/erpnext/accounts/doctype/pos_invoice/pos_invoice.py b/erpnext/accounts/doctype/pos_invoice/pos_invoice.py index c52dd71eafd..b69c4efc317 100644 --- a/erpnext/accounts/doctype/pos_invoice/pos_invoice.py +++ b/erpnext/accounts/doctype/pos_invoice/pos_invoice.py @@ -161,7 +161,6 @@ class POSInvoice(SalesInvoice): terms: DF.TextEditor | None territory: DF.Link | None timesheets: DF.Table[SalesInvoiceTimesheet] - title: DF.Data | None to_date: DF.Date | None total: DF.Currency total_advance: DF.Currency diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice.json b/erpnext/accounts/doctype/sales_invoice/sales_invoice.json index 5d4b5cd6c5a..94b2c86023f 100644 --- a/erpnext/accounts/doctype/sales_invoice/sales_invoice.json +++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice.json @@ -7,7 +7,6 @@ "engine": "InnoDB", "field_order": [ "customer_section", - "title", "naming_series", "customer", "customer_name", @@ -229,18 +228,6 @@ "hide_seconds": 1, "options": "fa fa-user" }, - { - "allow_on_submit": 1, - "default": "{customer_name}", - "fieldname": "title", - "fieldtype": "Data", - "hidden": 1, - "hide_days": 1, - "hide_seconds": 1, - "label": "Title", - "no_copy": 1, - "print_hide": 1 - }, { "bold": 1, "fieldname": "naming_series", @@ -2275,7 +2262,7 @@ "sort_order": "DESC", "states": [], "timeline_field": "customer", - "title_field": "title", + "title_field": "customer_name", "track_changes": 1, "track_seen": 1 } \ No newline at end of file diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice.py b/erpnext/accounts/doctype/sales_invoice/sales_invoice.py index a2ad43e053a..e7169c23674 100644 --- a/erpnext/accounts/doctype/sales_invoice/sales_invoice.py +++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice.py @@ -206,7 +206,6 @@ class SalesInvoice(SellingController): terms: DF.TextEditor | None territory: DF.Link | None timesheets: DF.Table[SalesInvoiceTimesheet] - title: DF.Data | None to_date: DF.Date | None total: DF.Currency total_advance: DF.Currency diff --git a/erpnext/patches/v11_1/set_missing_title_for_quotation.py b/erpnext/patches/v11_1/set_missing_title_for_quotation.py index 6e7e2c9d8bf..56dfef755dd 100644 --- a/erpnext/patches/v11_1/set_missing_title_for_quotation.py +++ b/erpnext/patches/v11_1/set_missing_title_for_quotation.py @@ -9,7 +9,6 @@ def execute(): update tabQuotation, tabCustomer set tabQuotation.customer_name = tabCustomer.customer_name, - tabQuotation.title = tabCustomer.customer_name where tabQuotation.customer_name is null and tabQuotation.party_name = tabCustomer.name @@ -24,7 +23,6 @@ def execute(): update tabQuotation, tabLead set tabQuotation.customer_name = case when ifnull(tabLead.company_name, '') != '' then tabLead.company_name else tabLead.lead_name end, - tabQuotation.title = case when ifnull(tabLead.company_name, '') != '' then tabLead.company_name else tabLead.lead_name end where tabQuotation.customer_name is null and tabQuotation.party_name = tabLead.name diff --git a/erpnext/selling/doctype/quotation/quotation.json b/erpnext/selling/doctype/quotation/quotation.json index 27bd32b3ee7..f2bb81b3b4a 100644 --- a/erpnext/selling/doctype/quotation/quotation.json +++ b/erpnext/selling/doctype/quotation/quotation.json @@ -10,7 +10,6 @@ "engine": "InnoDB", "field_order": [ "customer_section", - "title", "naming_series", "quotation_to", "party_name", @@ -142,16 +141,6 @@ "fieldtype": "Section Break", "options": "fa fa-user" }, - { - "allow_on_submit": 1, - "default": "{customer_name}", - "fieldname": "title", - "fieldtype": "Data", - "hidden": 1, - "label": "Title", - "no_copy": 1, - "print_hide": 1 - }, { "fieldname": "naming_series", "fieldtype": "Select", @@ -1106,7 +1095,7 @@ "idx": 82, "is_submittable": 1, "links": [], - "modified": "2024-11-26 12:43:29.293637", + "modified": "2025-01-06 15:00:08.774925", "modified_by": "Administrator", "module": "Selling", "name": "Quotation", @@ -1203,5 +1192,5 @@ "sort_order": "DESC", "states": [], "timeline_field": "party_name", - "title_field": "title" + "title_field": "customer_name" } \ No newline at end of file diff --git a/erpnext/selling/doctype/quotation/quotation.py b/erpnext/selling/doctype/quotation/quotation.py index 4c9c54f1ef4..8b2257f3c5e 100644 --- a/erpnext/selling/doctype/quotation/quotation.py +++ b/erpnext/selling/doctype/quotation/quotation.py @@ -107,7 +107,6 @@ class Quotation(SellingController): tc_name: DF.Link | None terms: DF.TextEditor | None territory: DF.Link | None - title: DF.Data | None total: DF.Currency total_net_weight: DF.Float total_qty: DF.Float diff --git a/erpnext/selling/doctype/sales_order/sales_order.json b/erpnext/selling/doctype/sales_order/sales_order.json index 1b8a11e4696..714c0a25290 100644 --- a/erpnext/selling/doctype/sales_order/sales_order.json +++ b/erpnext/selling/doctype/sales_order/sales_order.json @@ -11,7 +11,6 @@ "field_order": [ "customer_section", "column_break0", - "title", "naming_series", "customer", "customer_name", @@ -186,18 +185,6 @@ "oldfieldtype": "Column Break", "width": "50%" }, - { - "allow_on_submit": 1, - "default": "{customer_name}", - "fieldname": "title", - "fieldtype": "Data", - "hidden": 1, - "hide_days": 1, - "hide_seconds": 1, - "label": "Title", - "no_copy": 1, - "print_hide": 1 - }, { "fieldname": "naming_series", "fieldtype": "Select", @@ -1690,7 +1677,7 @@ "idx": 105, "is_submittable": 1, "links": [], - "modified": "2024-11-26 12:42:06.872527", + "modified": "2025-01-06 15:01:45.771616", "modified_by": "Administrator", "module": "Selling", "name": "Sales Order", diff --git a/erpnext/selling/doctype/sales_order/sales_order.py b/erpnext/selling/doctype/sales_order/sales_order.py index 0483feae2d8..49aae2acfd8 100755 --- a/erpnext/selling/doctype/sales_order/sales_order.py +++ b/erpnext/selling/doctype/sales_order/sales_order.py @@ -175,7 +175,6 @@ class SalesOrder(SellingController): tc_name: DF.Link | None terms: DF.TextEditor | None territory: DF.Link | None - title: DF.Data | None to_date: DF.Date | None total: DF.Currency total_commission: DF.Currency diff --git a/erpnext/stock/doctype/delivery_note/delivery_note.json b/erpnext/stock/doctype/delivery_note/delivery_note.json index b4933675b33..cbb3feb9f88 100644 --- a/erpnext/stock/doctype/delivery_note/delivery_note.json +++ b/erpnext/stock/doctype/delivery_note/delivery_note.json @@ -8,7 +8,6 @@ "document_type": "Document", "engine": "InnoDB", "field_order": [ - "title", "naming_series", "customer", "tax_id", @@ -171,16 +170,6 @@ "connections_tab" ], "fields": [ - { - "allow_on_submit": 1, - "default": "{customer_name}", - "fieldname": "title", - "fieldtype": "Data", - "hidden": 1, - "label": "Title", - "no_copy": 1, - "print_hide": 1 - }, { "fieldname": "naming_series", "fieldtype": "Select", @@ -1436,7 +1425,7 @@ "idx": 146, "is_submittable": 1, "links": [], - "modified": "2024-11-26 12:44:28.258215", + "modified": "2025-01-06 15:02:30.558756", "modified_by": "Administrator", "module": "Stock", "name": "Delivery Note", @@ -1533,7 +1522,7 @@ "sort_order": "DESC", "states": [], "timeline_field": "customer", - "title_field": "title", + "title_field": "customer_name", "track_changes": 1, "track_seen": 1 } \ No newline at end of file diff --git a/erpnext/stock/doctype/delivery_note/delivery_note.py b/erpnext/stock/doctype/delivery_note/delivery_note.py index 3bbbd32cbbb..567f4248f0f 100644 --- a/erpnext/stock/doctype/delivery_note/delivery_note.py +++ b/erpnext/stock/doctype/delivery_note/delivery_note.py @@ -128,7 +128,6 @@ class DeliveryNote(SellingController): tc_name: DF.Link | None terms: DF.TextEditor | None territory: DF.Link | None - title: DF.Data | None total: DF.Currency total_commission: DF.Currency total_net_weight: DF.Float