mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-12 03:15:07 +00:00
fix: create source_stock_entry to refer to original manufacturing entry
(cherry picked from commit d4baa9a74a)
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
"work_order",
|
||||
"subcontracting_order",
|
||||
"outgoing_stock_entry",
|
||||
"source_stock_entry",
|
||||
"bom_info_section",
|
||||
"from_bom",
|
||||
"use_multi_level_bom",
|
||||
@@ -125,6 +126,15 @@
|
||||
"options": "Stock Entry",
|
||||
"read_only": 1
|
||||
},
|
||||
{
|
||||
"depends_on": "eval:doc.purpose == 'Disassemble'",
|
||||
"fieldname": "source_stock_entry",
|
||||
"fieldtype": "Link",
|
||||
"label": "Source Stock Entry (Manufacture)",
|
||||
"no_copy": 1,
|
||||
"options": "Stock Entry",
|
||||
"print_hide": 1
|
||||
},
|
||||
{
|
||||
"bold": 1,
|
||||
"fetch_from": "stock_entry_type.purpose",
|
||||
|
||||
@@ -151,6 +151,7 @@ class StockEntry(StockController, SubcontractingInwardController):
|
||||
select_print_heading: DF.Link | None
|
||||
set_posting_time: DF.Check
|
||||
source_address_display: DF.TextEditor | None
|
||||
source_stock_entry: DF.Link | None
|
||||
source_warehouse_address: DF.Link | None
|
||||
stock_entry_type: DF.Link
|
||||
subcontracting_inward_order: DF.Link | None
|
||||
|
||||
Reference in New Issue
Block a user