Merge pull request #42731 from creative-paramu/bank_reconcilation_filter

fix: bank reconcilation tool cost center company filter adding
This commit is contained in:
ruthra kumar
2024-08-20 10:13:19 +05:30
committed by GitHub

View File

@@ -374,6 +374,14 @@ erpnext.accounts.bank_reconciliation.DialogManager = class DialogManager {
label: "Cost Center",
options: "Cost Center",
depends_on: "eval:doc.action=='Create Voucher' && doc.document_type=='Payment Entry'",
get_query: () => {
return {
filters: {
is_group: 0,
company: this.company,
},
};
},
},
{
fieldtype: "Section Break",