mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +00:00
Merge pull request #51504 from khushi8112/fiscal-year-not-found-error
fix: use non-standard-fieldname for budget
This commit is contained in:
@@ -4,6 +4,7 @@ from frappe import _
|
|||||||
def get_data():
|
def get_data():
|
||||||
return {
|
return {
|
||||||
"fieldname": "fiscal_year",
|
"fieldname": "fiscal_year",
|
||||||
|
"non_standard_fieldnames": {"Budget": "from_fiscal_year"},
|
||||||
"transactions": [
|
"transactions": [
|
||||||
{"label": _("Budgets"), "items": ["Budget"]},
|
{"label": _("Budgets"), "items": ["Budget"]},
|
||||||
{"label": _("References"), "items": ["Period Closing Voucher"]},
|
{"label": _("References"), "items": ["Period Closing Voucher"]},
|
||||||
|
|||||||
@@ -11,6 +11,5 @@ def get_data():
|
|||||||
},
|
},
|
||||||
"transactions": [
|
"transactions": [
|
||||||
{"label": _("Target Details"), "items": ["Sales Person", "Territory", "Sales Partner"]},
|
{"label": _("Target Details"), "items": ["Sales Person", "Territory", "Sales Partner"]},
|
||||||
{"items": ["Budget"]},
|
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user