Merge pull request #52484 from frappe/mergify/bp/version-16-hotfix/pr-52475

fix: do not show update stock flag unneccessarily (backport #52475)
This commit is contained in:
Mihir Kandoi
2026-02-06 12:28:36 +05:30
committed by GitHub
2 changed files with 4 additions and 2 deletions

View File

@@ -606,6 +606,7 @@
},
{
"default": "0",
"depends_on": "eval:doc.items.every((item) => !item.pr_detail)",
"fieldname": "update_stock",
"fieldtype": "Check",
"label": "Update Stock",
@@ -1668,7 +1669,7 @@
"idx": 204,
"is_submittable": 1,
"links": [],
"modified": "2026-02-03 14:23:47.937128",
"modified": "2026-02-05 20:45:16.964500",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Purchase Invoice",

View File

@@ -704,6 +704,7 @@
},
{
"default": "0",
"depends_on": "eval:doc.items.every((item) => !item.dn_detail)",
"fieldname": "update_stock",
"fieldtype": "Check",
"hide_days": 1,
@@ -2306,7 +2307,7 @@
"link_fieldname": "consolidated_invoice"
}
],
"modified": "2026-02-03 14:09:44.347133",
"modified": "2026-02-05 20:43:44.732805",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Sales Invoice",