fix(ux): make Recalculate Rate
field hidden for scrap items
This commit is contained in:
parent
40a6b5cefe
commit
199071b773
@ -476,9 +476,11 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"default": "1",
|
"default": "1",
|
||||||
|
"depends_on": "eval: !doc.is_scrap_item",
|
||||||
"fieldname": "recalculate_rate",
|
"fieldname": "recalculate_rate",
|
||||||
"fieldtype": "Check",
|
"fieldtype": "Check",
|
||||||
"label": "Recalculate Rate"
|
"label": "Recalculate Rate",
|
||||||
|
"read_only_depends_on": "eval: doc.is_scrap_item"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "serial_and_batch_bundle",
|
"fieldname": "serial_and_batch_bundle",
|
||||||
@ -519,6 +521,7 @@
|
|||||||
{
|
{
|
||||||
"fieldname": "reference_name",
|
"fieldname": "reference_name",
|
||||||
"fieldtype": "Data",
|
"fieldtype": "Data",
|
||||||
|
"hidden": 1,
|
||||||
"label": "Reference Name",
|
"label": "Reference Name",
|
||||||
"no_copy": 1,
|
"no_copy": 1,
|
||||||
"read_only": 1
|
"read_only": 1
|
||||||
@ -527,7 +530,7 @@
|
|||||||
"idx": 1,
|
"idx": 1,
|
||||||
"istable": 1,
|
"istable": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2023-08-24 21:57:15.897010",
|
"modified": "2023-08-25 09:33:47.232140",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Subcontracting",
|
"module": "Subcontracting",
|
||||||
"name": "Subcontracting Receipt Item",
|
"name": "Subcontracting Receipt Item",
|
||||||
|
Loading…
Reference in New Issue
Block a user