mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 16:34:46 +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) {
|
setup: function(frm) {
|
||||||
|
frm.ignore_doctypes_on_cancel_all = ['Journal Entry'];
|
||||||
|
|
||||||
frm.make_methods = {
|
frm.make_methods = {
|
||||||
'Asset Movement': () => {
|
'Asset Movement': () => {
|
||||||
frappe.call({
|
frappe.call({
|
||||||
|
|||||||
Reference in New Issue
Block a user