fix: hide reject-fields in return SCR

This commit is contained in:
s-aga-r 2022-11-16 14:25:06 +05:30
parent 8a73e963ce
commit 7dd7617ec7
2 changed files with 1187 additions and 1184 deletions

View File

@ -246,6 +246,7 @@
"print_hide": 1
},
{
"depends_on": "eval: !doc.is_return",
"description": "Sets 'Rejected Warehouse' in each row of the Items table.",
"fieldname": "rejected_warehouse",
"fieldtype": "Link",
@ -628,7 +629,7 @@
"in_create": 1,
"is_submittable": 1,
"links": [],
"modified": "2022-08-26 21:02:26.353870",
"modified": "2022-11-16 14:18:57.001239",
"modified_by": "Administrator",
"module": "Subcontracting",
"name": "Subcontracting Receipt",

View File

@ -147,6 +147,7 @@
},
{
"columns": 1,
"depends_on": "eval: !parent.is_return",
"fieldname": "rejected_qty",
"fieldtype": "Float",
"in_list_view": 1,
@ -248,6 +249,7 @@
"width": "100px"
},
{
"depends_on": "eval: !parent.is_return",
"fieldname": "rejected_warehouse",
"fieldtype": "Link",
"label": "Rejected Warehouse",
@ -311,7 +313,7 @@
"print_hide": 1
},
{
"depends_on": "eval:!doc.is_fixed_asset",
"depends_on": "eval: !parent.is_return",
"fieldname": "rejected_serial_no",
"fieldtype": "Small Text",
"label": "Rejected Serial No",
@ -474,7 +476,7 @@
"idx": 1,
"istable": 1,
"links": [],
"modified": "2022-08-20 17:16:48.269164",
"modified": "2022-11-16 14:21:26.125815",
"modified_by": "Administrator",
"module": "Subcontracting",
"name": "Subcontracting Receipt Item",