Merge pull request #8629 from ruchamahabal/bulk_update_fix
fix: bulk update tool updating records but not showing result
This commit is contained in:
commit
9bed16f12c
1 changed files with 8 additions and 0 deletions
|
|
@ -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();
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue