feat: Is Scrap Item
field in Subcontracting Receipt Item
This commit is contained in:
parent
8010a157b1
commit
4e7cccbdf0
@ -10,6 +10,7 @@
|
|||||||
"item_code",
|
"item_code",
|
||||||
"column_break_2",
|
"column_break_2",
|
||||||
"item_name",
|
"item_name",
|
||||||
|
"is_scrap_item",
|
||||||
"section_break_4",
|
"section_break_4",
|
||||||
"description",
|
"description",
|
||||||
"brand",
|
"brand",
|
||||||
@ -345,7 +346,8 @@
|
|||||||
"label": "BOM",
|
"label": "BOM",
|
||||||
"no_copy": 1,
|
"no_copy": 1,
|
||||||
"options": "BOM",
|
"options": "BOM",
|
||||||
"print_hide": 1
|
"print_hide": 1,
|
||||||
|
"read_only_depends_on": "eval: doc.is_scrap_item"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fetch_from": "item_code.brand",
|
"fetch_from": "item_code.brand",
|
||||||
@ -490,12 +492,22 @@
|
|||||||
"no_copy": 1,
|
"no_copy": 1,
|
||||||
"options": "Serial and Batch Bundle",
|
"options": "Serial and Batch Bundle",
|
||||||
"print_hide": 1
|
"print_hide": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"default": "0",
|
||||||
|
"depends_on": "eval: !doc.bom",
|
||||||
|
"fieldname": "is_scrap_item",
|
||||||
|
"fieldtype": "Check",
|
||||||
|
"label": "Is Scrap Item",
|
||||||
|
"no_copy": 1,
|
||||||
|
"print_hide": 1,
|
||||||
|
"read_only_depends_on": "eval: doc.bom"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"idx": 1,
|
"idx": 1,
|
||||||
"istable": 1,
|
"istable": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2023-07-06 18:43:45.599761",
|
"modified": "2023-08-24 11:52:22.666506",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Subcontracting",
|
"module": "Subcontracting",
|
||||||
"name": "Subcontracting Receipt Item",
|
"name": "Subcontracting Receipt Item",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user