mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-20 01:55:01 +00:00
fix: bank reconcilation tool cost center company filter adding
This commit is contained in:
@@ -374,6 +374,13 @@ 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: {
|
||||
company: this.company,
|
||||
},
|
||||
};
|
||||
},
|
||||
},
|
||||
{
|
||||
fieldtype: "Section Break",
|
||||
|
||||
Reference in New Issue
Block a user