fix: project filters on Delivery Note and Sales Order
(cherry picked from commit 9ba6ff67d5727ee97f12a9cbee120e78c20d6cec)
This commit is contained in:
parent
494c26e48a
commit
a51f956f3e
@ -16,6 +16,8 @@ erpnext.accounts.dimensions = {
|
||||
},
|
||||
callback: function(r) {
|
||||
me.accounting_dimensions = r.message[0];
|
||||
// Ignoring "Project" as it is already handled specifically in Sales Order and Delivery Note
|
||||
me.accounting_dimensions = me.accounting_dimensions.filter(x=>{return x.document_type != "Project"});
|
||||
me.default_dimensions = r.message[1];
|
||||
me.setup_filters(frm, doctype);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user