Skip to content

Commit

Permalink
Merge pull request #44552 from HUMENTH/develop
Browse files Browse the repository at this point in the history
Fix: Added Order Number and Order Date fields to the Blanket Order form.
  • Loading branch information
ruthra-kumar authored Dec 30, 2024
2 parents 4f398d8 + 5a284df commit 867aa9d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 15 additions & 1 deletion erpnext/manufacturing/doctype/blanket_order/blanket_order.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
"supplier",
"supplier_name",
"column_break_8",
"order_no",
"order_date",
"from_date",
"to_date",
"company",
Expand Down Expand Up @@ -129,15 +131,27 @@
"fieldname": "terms",
"fieldtype": "Text Editor",
"label": "Terms and Conditions Details"
},
{
"fieldname": "order_no",
"fieldtype": "Data",
"label": "Order No"
},
{
"depends_on": "eval:doc.order_no",
"fieldname": "order_date",
"fieldtype": "Date",
"label": "Order Date"
}
],
"index_web_pages_for_search": 1,
"is_submittable": 1,
"links": [],
"modified": "2024-03-27 13:06:39.907810",
"modified": "2024-12-05 15:44:21.520093",
"modified_by": "Administrator",
"module": "Manufacturing",
"name": "Blanket Order",
"naming_rule": "By \"Naming Series\" field",
"owner": "Administrator",
"permissions": [
{
Expand Down
2 changes: 2 additions & 0 deletions erpnext/manufacturing/doctype/blanket_order/blanket_order.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ class BlanketOrder(Document):
from_date: DF.Date
items: DF.Table[BlanketOrderItem]
naming_series: DF.Literal["MFG-BLR-.YYYY.-"]
order_date: DF.Date | None
order_no: DF.Data | None
supplier: DF.Link | None
supplier_name: DF.Data | None
tc_name: DF.Link | None
Expand Down

0 comments on commit 867aa9d

Please sign in to comment.