Merge branch 'develop' of https://github.com/frappe/erpnext into accounting_dimension_filters

This commit is contained in:
Deepesh Garg
2020-12-02 12:46:23 +05:30
127 changed files with 3506 additions and 1184 deletions

View File

@@ -203,6 +203,17 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({
});
}
if (this.frm.fields_dict.taxes_and_charges) {
this.frm.set_query("taxes_and_charges", function() {
return {
filters: [
['company', '=', me.frm.doc.company],
['docstatus', '!=', 2]
]
};
});
}
},
onload: function() {
var me = this;