mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-26 01:58:31 +00:00
fix(manufacturing): add sales order fields in subassembly child table
(cherry picked from commit c2282eaf08)
This commit is contained in:
@@ -21,6 +21,9 @@
|
|||||||
"subcontracting_section",
|
"subcontracting_section",
|
||||||
"supplier",
|
"supplier",
|
||||||
"purchase_order",
|
"purchase_order",
|
||||||
|
"column_break_oqry",
|
||||||
|
"sales_order",
|
||||||
|
"sales_order_item",
|
||||||
"work_order_details_section",
|
"work_order_details_section",
|
||||||
"production_plan_item",
|
"production_plan_item",
|
||||||
"wo_produced_qty",
|
"wo_produced_qty",
|
||||||
@@ -240,13 +243,32 @@
|
|||||||
"label": "Ordered Qty",
|
"label": "Ordered Qty",
|
||||||
"no_copy": 1,
|
"no_copy": 1,
|
||||||
"read_only": 1
|
"read_only": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "column_break_oqry",
|
||||||
|
"fieldtype": "Column Break"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "sales_order",
|
||||||
|
"fieldtype": "Link",
|
||||||
|
"label": "Sales Order",
|
||||||
|
"options": "Sales Order",
|
||||||
|
"read_only": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "sales_order_item",
|
||||||
|
"fieldtype": "Data",
|
||||||
|
"hidden": 1,
|
||||||
|
"label": "Sales Order Item",
|
||||||
|
"no_copy": 1,
|
||||||
|
"print_hide": 1
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"grid_page_length": 50,
|
"grid_page_length": 50,
|
||||||
"index_web_pages_for_search": 1,
|
"index_web_pages_for_search": 1,
|
||||||
"istable": 1,
|
"istable": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2025-11-03 14:33:50.677717",
|
"modified": "2026-02-11 13:00:09.092676",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Manufacturing",
|
"module": "Manufacturing",
|
||||||
"name": "Production Plan Sub Assembly Item",
|
"name": "Production Plan Sub Assembly Item",
|
||||||
|
|||||||
@@ -34,6 +34,8 @@ class ProductionPlanSubAssemblyItem(Document):
|
|||||||
qty: DF.Float
|
qty: DF.Float
|
||||||
received_qty: DF.Float
|
received_qty: DF.Float
|
||||||
required_qty: DF.Float
|
required_qty: DF.Float
|
||||||
|
sales_order: DF.Link | None
|
||||||
|
sales_order_item: DF.Data | None
|
||||||
schedule_date: DF.Datetime | None
|
schedule_date: DF.Datetime | None
|
||||||
stock_reserved_qty: DF.Float
|
stock_reserved_qty: DF.Float
|
||||||
stock_uom: DF.Link | None
|
stock_uom: DF.Link | None
|
||||||
|
|||||||
Reference in New Issue
Block a user