fix: allow assets with depr entries to be cancelled (#35477)
fix: allow asset with depr entries to be cancelled
This commit is contained in:
parent
7a3d16fc61
commit
dbdc420066
@ -41,6 +41,8 @@ frappe.ui.form.on('Asset', {
|
||||
},
|
||||
|
||||
setup: function(frm) {
|
||||
frm.ignore_doctypes_on_cancel_all = ['Journal Entry'];
|
||||
|
||||
frm.make_methods = {
|
||||
'Asset Movement': () => {
|
||||
frappe.call({
|
||||
|
Loading…
x
Reference in New Issue
Block a user