fix: Version 12 Bank Reconciliation fix (#19182)
* Fix Bank Reconciliation Change fixes Bank Rec upload as well as the duplicatation of bank_account and company filters * Update bank_reconciliation.js Removing incorrect fix to filters. Filters are loaded from Bank Transaction List. * Update bank_reconciliation.js
This commit is contained in:
parent
7508896bfb
commit
a5776d16b4
@ -139,15 +139,11 @@ erpnext.accounts.bankTransactionUpload = class bankTransactionUpload {
|
|||||||
}
|
}
|
||||||
|
|
||||||
make() {
|
make() {
|
||||||
const me = this;
|
const me = this;
|
||||||
frappe.upload.make({
|
new frappe.ui.FileUploader({
|
||||||
args: {
|
method: 'erpnext.accounts.doctype.bank_transaction.bank_transaction_upload.upload_bank_statement',
|
||||||
method: 'erpnext.accounts.doctype.bank_transaction.bank_transaction_upload.upload_bank_statement',
|
allow_multiple: 0,
|
||||||
allow_multiple: 0
|
on_success: function(attachment, r) {
|
||||||
},
|
|
||||||
no_socketio: true,
|
|
||||||
sample_url: "e.g. http://example.com/somefile.csv",
|
|
||||||
callback: function(attachment, r) {
|
|
||||||
if (!r.exc && r.message) {
|
if (!r.exc && r.message) {
|
||||||
me.data = r.message;
|
me.data = r.message;
|
||||||
me.setup_transactions_dom();
|
me.setup_transactions_dom();
|
||||||
@ -575,4 +571,4 @@ erpnext.accounts.ReconciliationRow = class ReconciliationRow {
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user