[FIX] Allow search on `_inherits` fields.
authorChristophe Simonis <chs@odoo.com>
Wed, 6 Aug 2014 12:59:57 +0000 (14:59 +0200)
committerChristophe Simonis <chs@odoo.com>
Wed, 6 Aug 2014 13:01:01 +0000 (15:01 +0200)
commitdc9bcf479de49ece90bb4df97045c877e5a0e437
tree2c8366fa2674e1f30f13e8cc7079dfc3abcbc15a
parent6dc46766323227325422a85f433a4274183a63f5
[FIX] Allow search on `_inherits` fields.

As `_inherits` fields are now handled via `related`
fields (not stored, obviously), a new descriptor
`searchable` has been added to `fields_get()` result
to indicated if the field is searchable or not.
addons/web/static/src/js/search.js
openerp/fields.py