Merge pull request #37569 from frappe/mergify/bp/version-14-hotfix/pr-37105

refactor: move `unreconcile` button into a drop down (backport #37105)
This commit is contained in:
ruthra kumar
2023-10-18 16:31:52 +05:30
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -181,6 +181,7 @@ erpnext.accounts.PurchaseInvoice = class PurchaseInvoice extends erpnext.buying.
}
this.frm.set_df_property("tax_withholding_category", "hidden", doc.apply_tds ? 0 : 1);
erpnext.accounts.unreconcile_payments.add_unreconcile_btn(me.frm);
}
unblock_invoice() {

View File

@@ -19,7 +19,7 @@ erpnext.accounts.unreconcile_payments = {
if (r.message) {
frm.add_custom_button(__("Un-Reconcile"), function() {
erpnext.accounts.unreconcile_payments.build_unreconcile_dialog(frm);
});
}, __('Actions'));
}
}
});