fix: project filters on Delivery Note and Sales Order
This commit is contained in:
parent
7fa3e82ac7
commit
9ba6ff67d5
@ -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