chore: add depends_on condition for Reserve Stock field in SO

This commit is contained in:
s-aga-r 2023-04-22 10:01:00 +05:30
parent cdb3181691
commit 28d0629df1

View File

@ -1641,6 +1641,7 @@
},
{
"default": "0",
"depends_on": "eval: (doc.docstatus == 0 || doc.reserve_stock)",
"description": "If checked, Stock Reservation Entries will be created on <b>Submit</b>",
"fieldname": "reserve_stock",
"fieldtype": "Check",
@ -1654,7 +1655,7 @@
"idx": 105,
"is_submittable": 1,
"links": [],
"modified": "2023-04-04 10:39:34.129343",
"modified": "2023-04-22 09:55:37.008190",
"modified_by": "Administrator",
"module": "Selling",
"name": "Sales Order",