Skip to content

Commit 54bed64

Browse files
diptanilsahamergify[bot]
authored andcommitted
fix(fiscal_year_company): made company field mandatory
(cherry picked from commit 94fb7e1)
1 parent 82170df commit 54bed64

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

erpnext/accounts/doctype/fiscal_year_company/fiscal_year_company.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,22 @@
1515
"ignore_user_permissions": 1,
1616
"in_list_view": 1,
1717
"label": "Company",
18-
"options": "Company"
18+
"options": "Company",
19+
"reqd": 1
1920
}
2021
],
2122
"index_web_pages_for_search": 1,
2223
"istable": 1,
2324
"links": [],
24-
"modified": "2024-03-27 13:09:44.659251",
25+
"modified": "2026-02-20 23:02:26.193606",
2526
"modified_by": "Administrator",
2627
"module": "Accounts",
2728
"name": "Fiscal Year Company",
2829
"owner": "Administrator",
2930
"permissions": [],
31+
"row_format": "Dynamic",
3032
"sort_field": "creation",
3133
"sort_order": "DESC",
3234
"states": [],
3335
"track_changes": 1
34-
}
36+
}

erpnext/accounts/doctype/fiscal_year_company/fiscal_year_company.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class FiscalYearCompany(Document):
1414
if TYPE_CHECKING:
1515
from frappe.types import DF
1616

17-
company: DF.Link | None
17+
company: DF.Link
1818
parent: DF.Data
1919
parentfield: DF.Data
2020
parenttype: DF.Data

0 commit comments

Comments
 (0)