Update erpnext/erpnext_integrations/doctype/taxjar_settings/taxjar_settings.js

Co-authored-by: Deepesh Garg <42651287+deepeshgarg007@users.noreply.github.com>
This commit is contained in:
Subin Tom 2021-09-16 14:42:06 +05:30 committed by GitHub
parent 486d7c3a39
commit 435a5e4fa3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,8 +8,7 @@ frappe.ui.form.on('TaxJar Settings', {
},
refresh: (frm) => {
frm.add_custom_button(__('Update Nexus List'), function(){
frm.add_custom_button(__('Update Nexus List'), function() {
frm.call({
doc: frm.doc,
method: 'update_nexus_list'