[FIX] update tests and change search logic (webclient)
authorGéry Debongnie <ged@odoo.com>
Thu, 20 Nov 2014 13:58:10 +0000 (14:58 +0100)
committerGéry Debongnie <ged@odoo.com>
Thu, 20 Nov 2014 13:58:10 +0000 (14:58 +0100)
commit77413fc764e3c002b8c7e8d8498a136edbb8afa6
treebee3a145d2d88628db556eec869035d1fafb6c72
parent5cd78b891b4baab60de5b55de88385ced11366ff
[FIX] update tests and change search logic (webclient)

previous commit broke some tests.  The issue is that the search view
now avoid making requests if there is no action id.  But this is an
assumption that tests use, so some slight adjustments have to be made.

Also, this is the moment to give properly the action id to the favorite
menu.  Instead of bypassing its parent, it now receives the action id
from the search view.
addons/web/static/src/js/search.js
addons/web/static/src/js/views.js
addons/web/static/test/search.js