mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-21 07:38:29 +00:00
fix(manufacturing): add sales order fields in subassembly child table
This commit is contained in:
@@ -10,6 +10,8 @@
|
|||||||
"fg_warehouse",
|
"fg_warehouse",
|
||||||
"parent_item_code",
|
"parent_item_code",
|
||||||
"schedule_date",
|
"schedule_date",
|
||||||
|
"sales_order",
|
||||||
|
"sales_order_item",
|
||||||
"column_break_3",
|
"column_break_3",
|
||||||
"qty",
|
"qty",
|
||||||
"bom_no",
|
"bom_no",
|
||||||
@@ -212,20 +214,36 @@
|
|||||||
"label": "Ordered Qty",
|
"label": "Ordered Qty",
|
||||||
"no_copy": 1,
|
"no_copy": 1,
|
||||||
"read_only": 1
|
"read_only": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"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
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"index_web_pages_for_search": 1,
|
"index_web_pages_for_search": 1,
|
||||||
"istable": 1,
|
"istable": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2025-06-10 13:36:24.759101",
|
"modified": "2026-02-17 12:06:02.309032",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Manufacturing",
|
"module": "Manufacturing",
|
||||||
"name": "Production Plan Sub Assembly Item",
|
"name": "Production Plan Sub Assembly Item",
|
||||||
"owner": "Administrator",
|
"owner": "Administrator",
|
||||||
"permissions": [],
|
"permissions": [],
|
||||||
"quick_entry": 1,
|
"quick_entry": 1,
|
||||||
|
"row_format": "Dynamic",
|
||||||
"sort_field": "modified",
|
"sort_field": "modified",
|
||||||
"sort_order": "DESC",
|
"sort_order": "DESC",
|
||||||
"states": [],
|
"states": [],
|
||||||
"track_changes": 1
|
"track_changes": 1
|
||||||
}
|
}
|
||||||
@@ -33,6 +33,8 @@ class ProductionPlanSubAssemblyItem(Document):
|
|||||||
purchase_order: DF.Link | None
|
purchase_order: DF.Link | None
|
||||||
qty: DF.Float
|
qty: DF.Float
|
||||||
received_qty: DF.Float
|
received_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_uom: DF.Link | None
|
stock_uom: DF.Link | None
|
||||||
supplier: DF.Link | None
|
supplier: DF.Link | None
|
||||||
|
|||||||
Reference in New Issue
Block a user