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:
6b4a227
)
[FIX] correct default value in add to dashboard
author
Géry Debongnie
<ged@odoo.com>
Fri, 30 May 2014 07:44:15 +0000
(09:44 +0200)
committer
Géry Debongnie
<ged@odoo.com>
Fri, 30 May 2014 07:46:40 +0000
(09:46 +0200)
the searchview has been split in two: searchview and searchviewdrawer.
The widget addtodashboard need to get the name from the searchview and
not from the drawer.
addons/board/static/src/js/dashboard.js
patch
|
blob
|
history
diff --git
a/addons/board/static/src/js/dashboard.js
b/addons/board/static/src/js/dashboard.js
index
0e9b179
..
05b2df0
100644
(file)
--- a/
addons/board/static/src/js/dashboard.js
+++ b/
addons/board/static/src/js/dashboard.js
@@
-412,7
+412,7
@@
instance.board.AddToDashboard = instance.web.search.Input.extend({
this.$el.toggleClass('oe_opened');
if (! this.$el.hasClass('oe_opened'))
return;
- this.$("input").val(this.getParent().fields_view.name || "" );
+ this.$("input").val(this.view.fields_view.name || "" );
}
});