mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-14 04:15:10 +00:00
fix: allow assets with depr entries to be cancelled (#35477)
fix: allow asset with depr entries to be cancelled
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user