mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-19 06:45:11 +00:00
Co-authored-by: Sudarshan <73628063+sudarsan2001@users.noreply.github.com> fix: make operation mandatory when any sub operation row is added (#54245)
This commit is contained in:
@@ -16,7 +16,8 @@
|
|||||||
"fieldtype": "Link",
|
"fieldtype": "Link",
|
||||||
"in_list_view": 1,
|
"in_list_view": 1,
|
||||||
"label": "Operation",
|
"label": "Operation",
|
||||||
"options": "Operation"
|
"options": "Operation",
|
||||||
|
"reqd": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"default": "0",
|
"default": "0",
|
||||||
@@ -40,7 +41,7 @@
|
|||||||
"index_web_pages_for_search": 1,
|
"index_web_pages_for_search": 1,
|
||||||
"istable": 1,
|
"istable": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2025-08-04 16:15:11.425349",
|
"modified": "2026-04-13 12:17:33.776504",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Manufacturing",
|
"module": "Manufacturing",
|
||||||
"name": "Sub Operation",
|
"name": "Sub Operation",
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ class SubOperation(Document):
|
|||||||
from frappe.types import DF
|
from frappe.types import DF
|
||||||
|
|
||||||
description: DF.SmallText | None
|
description: DF.SmallText | None
|
||||||
operation: DF.Link | None
|
operation: DF.Link
|
||||||
parent: DF.Data
|
parent: DF.Data
|
||||||
parentfield: DF.Data
|
parentfield: DF.Data
|
||||||
parenttype: DF.Data
|
parenttype: DF.Data
|
||||||
|
|||||||
Reference in New Issue
Block a user