mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 07:54:46 +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",
|
"work_order",
|
||||||
"subcontracting_order",
|
"subcontracting_order",
|
||||||
"outgoing_stock_entry",
|
"outgoing_stock_entry",
|
||||||
|
"source_stock_entry",
|
||||||
"bom_info_section",
|
"bom_info_section",
|
||||||
"from_bom",
|
"from_bom",
|
||||||
"use_multi_level_bom",
|
"use_multi_level_bom",
|
||||||
@@ -125,6 +126,15 @@
|
|||||||
"options": "Stock Entry",
|
"options": "Stock Entry",
|
||||||
"read_only": 1
|
"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,
|
"bold": 1,
|
||||||
"fetch_from": "stock_entry_type.purpose",
|
"fetch_from": "stock_entry_type.purpose",
|
||||||
|
|||||||
@@ -151,6 +151,7 @@ class StockEntry(StockController, SubcontractingInwardController):
|
|||||||
select_print_heading: DF.Link | None
|
select_print_heading: DF.Link | None
|
||||||
set_posting_time: DF.Check
|
set_posting_time: DF.Check
|
||||||
source_address_display: DF.TextEditor | None
|
source_address_display: DF.TextEditor | None
|
||||||
|
source_stock_entry: DF.Link | None
|
||||||
source_warehouse_address: DF.Link | None
|
source_warehouse_address: DF.Link | None
|
||||||
stock_entry_type: DF.Link
|
stock_entry_type: DF.Link
|
||||||
subcontracting_inward_order: DF.Link | None
|
subcontracting_inward_order: DF.Link | None
|
||||||
|
|||||||
Reference in New Issue
Block a user