fix: Linked invoice cancellation issue via timesheet (#34337)
This commit is contained in:
parent
b8a61be080
commit
4416ddc4af
@ -5,6 +5,8 @@ frappe.ui.form.on("Timesheet", {
|
||||
setup: function(frm) {
|
||||
frappe.require("/assets/erpnext/js/projects/timer.js");
|
||||
|
||||
frm.ignore_doctypes_on_cancel_all = ['Sales Invoice'];
|
||||
|
||||
frm.fields_dict.employee.get_query = function() {
|
||||
return {
|
||||
filters:{
|
||||
|
Loading…
x
Reference in New Issue
Block a user