mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-17 22:05:10 +00:00
fix(process statement of accounts): make date fields mandatory
(cherry picked from commit 23bc180d98)
This commit is contained in:
@@ -78,18 +78,18 @@
|
|||||||
"reqd": 1
|
"reqd": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"depends_on": "eval:(doc.enable_auto_email == 0 && doc.report == 'General Ledger');",
|
"depends_on": "eval:(!doc.enable_auto_email && doc.report == 'General Ledger');",
|
||||||
"fieldname": "from_date",
|
"fieldname": "from_date",
|
||||||
"fieldtype": "Date",
|
"fieldtype": "Date",
|
||||||
"label": "From Date",
|
"label": "From Date",
|
||||||
"mandatory_depends_on": "eval:doc.frequency == '';"
|
"mandatory_depends_on": "eval:(!doc.enable_auto_email && doc.report == \"General Ledger\") "
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"depends_on": "eval:(doc.enable_auto_email == 0 && doc.report == 'General Ledger');",
|
"depends_on": "eval:(!doc.enable_auto_email && doc.report == 'General Ledger');",
|
||||||
"fieldname": "to_date",
|
"fieldname": "to_date",
|
||||||
"fieldtype": "Date",
|
"fieldtype": "Date",
|
||||||
"label": "To Date",
|
"label": "To Date",
|
||||||
"mandatory_depends_on": "eval:doc.frequency == '';"
|
"mandatory_depends_on": "eval:(!doc.enable_auto_email && doc.report == \"General Ledger\") "
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "cost_center",
|
"fieldname": "cost_center",
|
||||||
@@ -330,7 +330,8 @@
|
|||||||
"depends_on": "eval:(doc.report == 'Accounts Receivable');",
|
"depends_on": "eval:(doc.report == 'Accounts Receivable');",
|
||||||
"fieldname": "posting_date",
|
"fieldname": "posting_date",
|
||||||
"fieldtype": "Date",
|
"fieldtype": "Date",
|
||||||
"label": "Posting Date"
|
"label": "Posting Date",
|
||||||
|
"mandatory_depends_on": "eval:(doc.report == 'Accounts Receivable');"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"depends_on": "eval: (doc.report == 'Accounts Receivable');",
|
"depends_on": "eval: (doc.report == 'Accounts Receivable');",
|
||||||
@@ -400,7 +401,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2025-07-08 16:52:12.602384",
|
"modified": "2025-08-04 18:21:12.603623",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Accounts",
|
"module": "Accounts",
|
||||||
"name": "Process Statement Of Accounts",
|
"name": "Process Statement Of Accounts",
|
||||||
|
|||||||
Reference in New Issue
Block a user