[REM] disable dummy actions implementation in lists, so nobody is confused as to their status

bzr revid: xmo@openerp.com-20110421104843-5sof6p8uuhq7gsap
This commit is contained in:
Xavier Morel
2011-04-21 12:48:43 +02:00
parent bf476cddf6
commit 96386dbdd9
+3 -2
View File
@@ -108,8 +108,9 @@ openerp.base.ListView = openerp.base.Controller.extend(
var context = _.extend(
{}, self.dataset.context, field.context || {});
self.dataset.call(action, [row.data.id.value], [context],
self.do_reload);
self.notification.notify(
'[Dummy] Execute action', self.dataset.model + '#' + action + "([" + row.data.id.value + '])');
// TODO: implement actions correctly once the corresponding manager has been extracted (and filled)
e.stopImmediatePropagation();
});
$table.delegate(