fix(Asset Repair): Make Stock Items and Warehouse mandatory if stock_consumption is checked
This commit is contained in:
parent
654074ad7a
commit
5ab0cabf91
@ -170,6 +170,7 @@
|
|||||||
"fieldname": "stock_items",
|
"fieldname": "stock_items",
|
||||||
"fieldtype": "Table",
|
"fieldtype": "Table",
|
||||||
"label": "Stock Items",
|
"label": "Stock Items",
|
||||||
|
"mandatory_depends_on": "stock_consumption",
|
||||||
"options": "Stock Item"
|
"options": "Stock Item"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -217,6 +218,7 @@
|
|||||||
"label": "Total Repair Cost"
|
"label": "Total Repair Cost"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"depends_on": "stock_consumption",
|
||||||
"fieldname": "warehouse",
|
"fieldname": "warehouse",
|
||||||
"fieldtype": "Link",
|
"fieldtype": "Link",
|
||||||
"label": "Warehouse",
|
"label": "Warehouse",
|
||||||
@ -244,7 +246,7 @@
|
|||||||
"index_web_pages_for_search": 1,
|
"index_web_pages_for_search": 1,
|
||||||
"is_submittable": 1,
|
"is_submittable": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2021-06-16 07:01:28.217619",
|
"modified": "2021-06-16 07:52:49.438800",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Assets",
|
"module": "Assets",
|
||||||
"name": "Asset Repair",
|
"name": "Asset Repair",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user