fix: remove title field from purchase receipt (backport #54051) (#54065)

Co-authored-by: Mihir Kandoi <kandoimihir@gmail.com>
fix: remove title field from purchase receipt (#54051)
This commit is contained in:
mergify[bot]
2026-04-06 12:00:04 +00:00
committed by GitHub
parent 2de51be5ae
commit 84382db5ca
2 changed files with 3 additions and 15 deletions

View File

@@ -3,7 +3,7 @@
"allow_auto_repeat": 1, "allow_auto_repeat": 1,
"allow_import": 1, "allow_import": 1,
"autoname": "naming_series:", "autoname": "naming_series:",
"creation": "2013-05-21 16:16:39", "creation": "2026-04-06 14:10:33.384946",
"doctype": "DocType", "doctype": "DocType",
"document_type": "Document", "document_type": "Document",
"editable_grid": 1, "editable_grid": 1,
@@ -11,7 +11,6 @@
"field_order": [ "field_order": [
"supplier_section", "supplier_section",
"column_break0", "column_break0",
"title",
"naming_series", "naming_series",
"supplier", "supplier",
"supplier_name", "supplier_name",
@@ -171,16 +170,6 @@
"print_width": "50%", "print_width": "50%",
"width": "50%" "width": "50%"
}, },
{
"allow_on_submit": 1,
"default": "{supplier_name}",
"fieldname": "title",
"fieldtype": "Data",
"hidden": 1,
"label": "Title",
"no_copy": 1,
"print_hide": 1
},
{ {
"fieldname": "naming_series", "fieldname": "naming_series",
"fieldtype": "Select", "fieldtype": "Select",
@@ -1303,7 +1292,7 @@
"idx": 261, "idx": 261,
"is_submittable": 1, "is_submittable": 1,
"links": [], "links": [],
"modified": "2026-03-09 17:15:28.602690", "modified": "2026-04-06 14:11:29.630333",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Stock", "module": "Stock",
"name": "Purchase Receipt", "name": "Purchase Receipt",
@@ -1371,6 +1360,6 @@
"sort_order": "DESC", "sort_order": "DESC",
"states": [], "states": [],
"timeline_field": "supplier", "timeline_field": "supplier",
"title_field": "title", "title_field": "supplier_name",
"track_changes": 1 "track_changes": 1
} }

View File

@@ -148,7 +148,6 @@ class PurchaseReceipt(BuyingController):
taxes_and_charges_deducted: DF.Currency taxes_and_charges_deducted: DF.Currency
tc_name: DF.Link | None tc_name: DF.Link | None
terms: DF.TextEditor | None terms: DF.TextEditor | None
title: DF.Data | None
total: DF.Currency total: DF.Currency
total_net_weight: DF.Float total_net_weight: DF.Float
total_qty: DF.Float total_qty: DF.Float