[FIX] correctly set searchview id (web client)
authorGéry Debongnie <ged@odoo.com>
Tue, 25 Nov 2014 12:11:15 +0000 (13:11 +0100)
committerGéry Debongnie <ged@odoo.com>
Tue, 25 Nov 2014 12:11:15 +0000 (13:11 +0100)
commit20a8b0e66a86c130f7b005aa9a5efead05eb0014
treed1f33f0f5af6b7d834f6bbd859cde8c7742d1d72
parentcd2a4323620465e5952632d5a1bf6f26cea73bf0
[FIX] correctly set searchview id (web client)

The issue is that when a default searchview is requested, it is
initialized without its view_id.  Result: debug mode can't edit the
search view.  This commit makes sure that when the field_view_get is
received, the correct view_id is set.
addons/web/static/src/js/search.js