projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2751350
)
[CHG] Listview's row not deletable by default
author
Fabien Meghazi
<fme@openerp.com>
Wed, 9 May 2012 15:25:58 +0000
(17:25 +0200)
committer
Fabien Meghazi
<fme@openerp.com>
Wed, 9 May 2012 15:25:58 +0000
(17:25 +0200)
bzr revid: fme@openerp.com-
20120509152558
-e00p4lj2mrnnahru
addons/web/static/src/js/view_list.js
patch
|
blob
|
history
diff --git
a/addons/web/static/src/js/view_list.js
b/addons/web/static/src/js/view_list.js
index
0be31d3
..
41a3f89
100644
(file)
--- a/
addons/web/static/src/js/view_list.js
+++ b/
addons/web/static/src/js/view_list.js
@@
-10,7
+10,7
@@
instance.web.ListView = instance.web.View.extend( /** @lends instance.web.ListVi
// records can be selected one by one
'selectable': true,
// list rows can be deleted
- 'deletable': true,
+ 'deletable': false,
// whether the column headers should be displayed
'header': true,
// display addition button, with that label