[imp] added todo
bzr revid: nicolas.vanhoren@openerp.com-20110907143155-66ceqs76hxzjvxtw
This commit is contained in:
@@ -444,6 +444,7 @@ openerp.web.Sidebar = openerp.web.Widget.extend({
|
||||
if (item.action) {
|
||||
var ids = self.widget_parent.get_selected_ids();
|
||||
if (ids.length == 0) {
|
||||
//TODO: make prettier warning?
|
||||
$("<div />").text(_t("You must choose at least one record.")).dialog({
|
||||
title: _t("Warning"),
|
||||
modal: true
|
||||
|
||||
Reference in New Issue
Block a user