mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-11 21:51:48 +00:00
fix: allow custom remark on reversal journal entry
(cherry picked from commit 5e0e9ba668)
This commit is contained in:
committed by
Mergify
parent
6153202231
commit
b4dfca9ef1
@@ -567,7 +567,7 @@ $.extend(erpnext.journal_entry, {
|
|||||||
lock_reversal_entry: function (frm) {
|
lock_reversal_entry: function (frm) {
|
||||||
frm.fields
|
frm.fields
|
||||||
.filter((field) => field.has_input)
|
.filter((field) => field.has_input)
|
||||||
.filter((field) => field.df.fieldname != "posting_date")
|
.filter((field) => !["posting_date", "custom_remark", "remark"].includes(field.df.fieldname))
|
||||||
.forEach((field) => frm.set_df_property(field.df.fieldname, "read_only", 1));
|
.forEach((field) => frm.set_df_property(field.df.fieldname, "read_only", 1));
|
||||||
frm.set_df_property("accounts", "read_only", 1);
|
frm.set_df_property("accounts", "read_only", 1);
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user