Merge pull request #8629 from ruchamahabal/bulk_update_fix

fix: bulk update tool updating records but not showing result
This commit is contained in:
mergify[bot] 2019-10-29 09:45:47 +00:00 committed by GitHub
commit 9bed16f12c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,8 +22,16 @@ frappe.ui.form.on('Bulk Update', {
if (failed.length && !r._server_messages) {
frappe.throw(__('Cannot update {0}', [failed.map(f => f.bold ? f.bold(): f).join(', ')]));
} else {
frappe.msgprint({
title: __('Success'),
message: __('Updated Successfully'),
indicator: 'green'
});
}
frappe.hide_progress();
frm.save();
});
}
});